]> git.sur5r.net Git - u-boot/commitdiff
ppc4xx: Yosemite/Yellowstone: Add DTT AD7414 support
authorStefan Roese <sr@denx.de>
Tue, 4 Dec 2007 15:29:48 +0000 (16:29 +0100)
committerStefan Roese <sr@denx.de>
Tue, 4 Dec 2007 15:29:48 +0000 (16:29 +0100)
Signed-off-by: Stefan Roese <sr@denx.de>
include/configs/yosemite.h

index 2dde9bee30efadc1adc370900b9a6a3fc348814d..a8eeff989c347fe5972350af349a3580755e89a4 100644 (file)
 #define CFG_ENV_OFFSET         0x0
 #endif /* CFG_ENV_IS_IN_EEPROM */
 
+/* I2C SYSMON (LM75, AD7414 is almost compatible)                      */
+#define CONFIG_DTT_LM75                1               /* ON Semi's LM75       */
+#define CONFIG_DTT_AD7414      1               /* use AD7414           */
+#define CONFIG_DTT_SENSORS     {0}             /* Sensor addresses     */
+#define CFG_DTT_MAX_TEMP       70
+#define CFG_DTT_LOW_TEMP       -30
+#define CFG_DTT_HYSTERESIS     3
+
 #define CONFIG_PREBOOT "echo;" \
        "echo Type \"run flash_nfs\" to mount root filesystem over NFS;" \
        "echo"
 #define CONFIG_CMD_ASKENV
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_DIAG
+#define CONFIG_CMD_DTT
 #define CONFIG_CMD_ELF
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_I2C