diff options
author | Heiko Schocher <hs@denx.de> | 2008-10-15 09:41:00 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-10-18 21:54:02 +0200 |
commit | 8f64da7f83b553889bc08400c97047998382e9d2 (patch) | |
tree | 360fc1bb9276a5caf3783ac88e54d5820f7ce064 /board/keymile/mgsuvd | |
parent | 81473f67810c4c9b7efaed8dee258ed6bc4c7983 (diff) | |
download | u-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 'board/keymile/mgsuvd')
-rw-r--r-- | board/keymile/mgsuvd/mgsuvd.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/keymile/mgsuvd/mgsuvd.c b/board/keymile/mgsuvd/mgsuvd.c index d78b2da..ecc8d75 100644 --- a/board/keymile/mgsuvd/mgsuvd.c +++ b/board/keymile/mgsuvd/mgsuvd.c @@ -32,6 +32,8 @@ #include <libfdt.h> #endif +extern int ivm_read_eeprom (void); + DECLARE_GLOBAL_DATA_PTR; const uint sdram_table[] = @@ -145,6 +147,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 |