diff options
author | Bartlomiej Sieka <tur@semihalf.com> | 2007-05-27 16:57:15 +0200 |
---|---|---|
committer | Bartlomiej Sieka <tur@semihalf.com> | 2007-05-27 16:57:15 +0200 |
commit | 93b78f534a6e708b4cf1a4ffb4d8438c67a007db (patch) | |
tree | 4cbb90b3ee3a687bcda3b6c8e4243e7f81d10af4 /include/configs/motionpro.h | |
parent | c75e639630cc132dc19cd1ecda5922c0db0bfbba (diff) |
Motion-PRO: Add support for the temperature sensor.
Signed-off-by: Piotr Kruszynski <ppk@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
Diffstat (limited to 'include/configs/motionpro.h')
-rw-r--r-- | include/configs/motionpro.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/configs/motionpro.h b/include/configs/motionpro.h index 8ffcc4c9c11..a4df64a75df 100644 --- a/include/configs/motionpro.h +++ b/include/configs/motionpro.h @@ -54,7 +54,8 @@ CFG_CMD_JFFS2 | \ CFG_CMD_I2C | \ CFG_CMD_DATE | \ - CFG_CMD_EEPROM) + CFG_CMD_EEPROM | \ + CFG_CMD_DTT) /* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */ #include <cmd_confdefs.h> @@ -297,6 +298,7 @@ * EEPROM configuration */ #define CFG_I2C_EEPROM_ADDR_LEN 1 +#define CFG_EEPROM_PAGE_WRITE_ENABLE 1 /* DTT driver needs this */ #define CFG_EEPROM_PAGE_WRITE_BITS 3 #define CFG_EEPROM_PAGE_WRITE_DELAY_MS 70 #define CFG_I2C_MULTI_EEPROMS 1 /* 2 EEPROMs (addr:50,52) */ @@ -332,6 +334,13 @@ extern void __led_set(led_id_t id, int state); /* + * Temperature sensor + */ +#define CONFIG_DTT_LM75 1 +#define CONFIG_DTT_SENSORS { 0x49 } + + +/* * Environment settings */ #define CFG_ENV_IS_IN_FLASH 1 |