aboutsummaryrefslogtreecommitdiffstats
path: root/packages/u-boot/u-boot-1.3.2/boc01/000_01_u-boot-1.3.2_LM73.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/u-boot/u-boot-1.3.2/boc01/000_01_u-boot-1.3.2_LM73.patch')
-rw-r--r--packages/u-boot/u-boot-1.3.2/boc01/000_01_u-boot-1.3.2_LM73.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/u-boot/u-boot-1.3.2/boc01/000_01_u-boot-1.3.2_LM73.patch b/packages/u-boot/u-boot-1.3.2/boc01/000_01_u-boot-1.3.2_LM73.patch
new file mode 100644
index 0000000000..97949d418e
--- /dev/null
+++ b/packages/u-boot/u-boot-1.3.2/boc01/000_01_u-boot-1.3.2_LM73.patch
@@ -0,0 +1,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