diff options
Diffstat (limited to 'packages/u-boot/u-boot-1.3.2/mpc8313e-rdb-lm75.patch')
-rw-r--r-- | packages/u-boot/u-boot-1.3.2/mpc8313e-rdb-lm75.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/u-boot/u-boot-1.3.2/mpc8313e-rdb-lm75.patch b/packages/u-boot/u-boot-1.3.2/mpc8313e-rdb-lm75.patch new file mode 100644 index 0000000000..d9331dde37 --- /dev/null +++ b/packages/u-boot/u-boot-1.3.2/mpc8313e-rdb-lm75.patch @@ -0,0 +1,23 @@ +Index: u-boot-1.3.2/include/configs/MPC8313ERDB.h +=================================================================== +--- u-boot-1.3.2.orig/include/configs/MPC8313ERDB.h 2008-09-12 18:52:58.000000000 +0200 ++++ u-boot-1.3.2/include/configs/MPC8313ERDB.h 2008-09-12 18:53:10.000000000 +0200 +@@ -370,6 +370,7 @@ + #define CONFIG_CMD_PCI + #define CONFIG_CMD_NAND + #define CONFIG_CMD_SPI ++#define CONFIG_CMD_DTT + + #if defined(CFG_RAMBOOT) + #undef CONFIG_CMD_ENV +@@ -392,6 +393,10 @@ + #define MTDPARTS_DEFAULT "mtdparts=physmap-flash.0:384k(uboot),64k(env)" + + ++/* Digital Thermometer and Thermostat */ ++#define CONFIG_DTT_LM75 1 ++#define CONFIG_DTT_SENSORS { 0x48 } ++ + /* + * Miscellaneous configurable options + */ |