diff options
author | Jeremy Laine <jeremy.laine@m4x.org> | 2008-09-17 13:15:56 +0000 |
---|---|---|
committer | Jeremy Laine <jeremy.laine@m4x.org> | 2008-09-17 13:15:56 +0000 |
commit | 1be23a85a9044ac34ebd07d561b8029d0764f916 (patch) | |
tree | e0d511043a58985c14a16b96a48d08b741ea5648 /packages/u-boot/u-boot-1.3.2/mpc8313e-rdb-lm75.patch | |
parent | d4e452b6d6fafe058a84e7623893537536dc2695 (diff) |
u-boot: add SPI, EEPROM and DTT support for mpc8313e-rdb
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 + */ |