u-boot: add SPI, EEPROM and DTT support for mpc8313e-rdb
[openembedded.git] / packages / u-boot / u-boot-1.3.2 / mpc8313e-rdb-lm75.patch
1 Index: u-boot-1.3.2/include/configs/MPC8313ERDB.h
2 ===================================================================
3 --- u-boot-1.3.2.orig/include/configs/MPC8313ERDB.h     2008-09-12 18:52:58.000000000 +0200
4 +++ u-boot-1.3.2/include/configs/MPC8313ERDB.h  2008-09-12 18:53:10.000000000 +0200
5 @@ -370,6 +370,7 @@
6  #define CONFIG_CMD_PCI
7  #define CONFIG_CMD_NAND
8  #define CONFIG_CMD_SPI
9 +#define CONFIG_CMD_DTT
10  
11  #if defined(CFG_RAMBOOT)
12      #undef CONFIG_CMD_ENV
13 @@ -392,6 +393,10 @@
14  #define MTDPARTS_DEFAULT       "mtdparts=physmap-flash.0:384k(uboot),64k(env)"
15  
16  
17 +/* Digital Thermometer and Thermostat */
18 +#define CONFIG_DTT_LM75                1
19 +#define CONFIG_DTT_SENSORS     { 0x48 }
20 +
21  /*
22   * Miscellaneous configurable options
23   */