aboutsummaryrefslogtreecommitdiffstats
path: root/board/keymile/mgcoge
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 /board/keymile/mgcoge
parent81473f67810c4c9b7efaed8dee258ed6bc4c7983 (diff)
downloadu-boot-midas-8f64da7f83b553889bc08400c97047998382e9d2.tar.gz
u-boot-midas-8f64da7f83b553889bc08400c97047998382e9d2.tar.bz2
u-boot-midas-8f64da7f83b553889bc08400c97047998382e9d2.zip
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 'board/keymile/mgcoge')
-rw-r--r--board/keymile/mgcoge/mgcoge.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/keymile/mgcoge/mgcoge.c b/board/keymile/mgcoge/mgcoge.c
index d3e46f55e7..31703ab14f 100644
--- a/board/keymile/mgcoge/mgcoge.c
+++ b/board/keymile/mgcoge/mgcoge.c
@@ -34,6 +34,7 @@
#include <i2c.h>
#endif
+extern int ivm_read_eeprom (void);
/*
* I/O Port configuration table
*
@@ -299,6 +300,12 @@ int board_early_init_r (void)
return 0;
}
+int hush_init_var (void)
+{
+ ivm_read_eeprom ();
+ return 0;
+}
+
#if defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT)
/*
* update "memory" property in the blob