aboutsummaryrefslogtreecommitdiffstats
path: root/packages/u-boot/u-boot-1.3.2/boc01/000_01_u-boot-1.3.2_LM73.patch
blob: 97949d418e20b36f550fa83f5a76b1c9f8cd1b3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: u-boot-1.3.2/include/configs/MPC8313ERDB.h
===================================================================
--- u-boot-1.3.2.orig/include/configs/MPC8313ERDB.h	2008-11-21 16:02:21.000000000 +0100
+++ u-boot-1.3.2/include/configs/MPC8313ERDB.h	2008-11-21 16:03:46.000000000 +0100
@@ -364,6 +364,7 @@
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_I2C
+#define CONFIG_CMD_DTT
 #define CONFIG_CMD_MII
 #define CONFIG_CMD_DATE
 #define CONFIG_CMD_PCI
@@ -390,6 +391,12 @@
 #define CFG_BARGSIZE	CFG_CBSIZE	/* Boot Argument Buffer Size */
 #define CFG_HZ		1000		/* decrementer freq: 1ms ticks */
 
+/* Digital Thermometer and Thermostat */
+#define CONFIG_DTT_LM73		1
+#define CONFIG_DTT_SENSORS	{ 0x49 }
+#define CFG_DDT_MAX_TEMP	70
+#define CFG_DTT_MIN_TEMP	-30
+
 /*
  * For booting Linux, the board info and command line data
  * have to be in the first 8 MB of memory, since this is