summaryrefslogtreecommitdiff
path: root/include/configs/mgcoge.h
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2008-10-15 09:41:00 +0200
committerWolfgang Denk <wd@denx.de>2008-10-18 21:54:02 +0200
commit8f64da7f83b553889bc08400c97047998382e9d2 (patch)
tree360fc1bb9276a5caf3783ac88e54d5820f7ce064 /include/configs/mgcoge.h
parent81473f67810c4c9b7efaed8dee258ed6bc4c7983 (diff)
downloadu-boot-imx-8f64da7f83b553889bc08400c97047998382e9d2.zip
u-boot-imx-8f64da7f83b553889bc08400c97047998382e9d2.tar.gz
u-boot-imx-8f64da7f83b553889bc08400c97047998382e9d2.tar.bz2
mgcoge, mgsuvd: added support for the IVM EEprom.
The EEprom contains some Manufacturerinformation, which are read from u-boot at boot time, and saved in same hush shell variables. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/configs/mgcoge.h')
-rw-r--r--include/configs/mgcoge.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/mgcoge.h b/include/configs/mgcoge.h
index 6564c15..cdbfd67 100644
--- a/include/configs/mgcoge.h
+++ b/include/configs/mgcoge.h
@@ -134,6 +134,7 @@
#define CFG_PROMPT_HUSH_PS2 "> "
#define CFG_LONGHELP /* undef to save memory */
#define CFG_PROMPT "=> " /* Monitor Command Prompt */
+#define CONFIG_HUSH_INIT_VAR 1
#if defined(CONFIG_CMD_KGDB)
#define CFG_CBSIZE 1024 /* Console I/O Buffer Size */
#else
@@ -212,6 +213,11 @@
#define CFG_EEPROM_PAGE_WRITE_BITS 3
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10
+/* Support the IVM EEprom */
+#define CFG_IVM_EEPROM_ADR 0x50
+#define CFG_IVM_EEPROM_MAX_LEN 0x400
+#define CFG_IVM_EEPROM_PAGE_LEN 0x100
+
/* I2C SYSMON (LM75, AD7414 is almost compatible) */
#define CONFIG_DTT_LM75 1 /* ON Semi's LM75 */
#define CONFIG_DTT_SENSORS {0} /* Sensor addresses */