summaryrefslogtreecommitdiff
path: root/packages/u-boot/u-boot-1.3.2/mpc8313e-rdb-lm75.patch
blob: d9331dde37250fad0d45f3c295a1526d0710281e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
  */