summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2008-09-08 10:21:11 +0200
committerWolfgang Denk <wd@denx.de>2008-09-10 10:48:04 +0200
commit245f6ef3e11828cb46188e396fb1e67f7b07cd03 (patch)
tree38b53960e9f945a985755a8d93074a23d757a9e4
parent4a02a2dca82aeab8f839db9dd35fda9d5412dacb (diff)
downloadu-boot-imx-245f6ef3e11828cb46188e396fb1e67f7b07cd03.zip
u-boot-imx-245f6ef3e11828cb46188e396fb1e67f7b07cd03.tar.gz
u-boot-imx-245f6ef3e11828cb46188e396fb1e67f7b07cd03.tar.bz2
muas3001: added support for the LM75 sensor.
Signed-off-by: Heiko Schocher <hs@denx.de>
-rw-r--r--include/configs/muas3001.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/muas3001.h b/include/configs/muas3001.h
index 55f7b1e..bc085b8 100644
--- a/include/configs/muas3001.h
+++ b/include/configs/muas3001.h
@@ -127,6 +127,7 @@
*/
#include <config_cmd_default.h>
+#define CONFIG_CMD_DTT
#define CONFIG_CMD_ECHO
#define CONFIG_CMD_IMMAP
#define CONFIG_CMD_MII
@@ -240,6 +241,15 @@
#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