]> git.sur5r.net Git - u-boot/commitdiff
muas3001: added support for the LM75 sensor.
authorHeiko Schocher <hs@denx.de>
Mon, 8 Sep 2008 08:21:11 +0000 (10:21 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 10 Sep 2008 08:48:04 +0000 (10:48 +0200)
Signed-off-by: Heiko Schocher <hs@denx.de>
include/configs/muas3001.h

index 55f7b1e540708ea76a96f6ebd1a2f973861de12b..bc085b8b786fd9230a3be9ea0bdf3377e647d31c 100644 (file)
  */
 #include <config_cmd_default.h>
 
+#define CONFIG_CMD_DTT
 #define CONFIG_CMD_ECHO
 #define CONFIG_CMD_IMMAP
 #define CONFIG_CMD_MII
 #define CFG_I2C_SPEED          100000  /* I2C speed and slave address  */
 #define CFG_I2C_SLAVE          0x7F
 
+#define        CFG_EEPROM_PAGE_WRITE_ENABLE
+#define        CFG_EEPROM_PAGE_WRITE_BITS 3
+/* I2C SYSMON (LM75, AD7414 is almost compatible)                       */
+#define        CONFIG_DTT_LM75         1       /* ON Semi's LM75               */
+#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 CFG_IMMR               0xF0000000
 #define CFG_DEFAULT_IMMR       0x0F010000