summaryrefslogtreecommitdiff
path: root/board/keymile/mgsuvd/mgsuvd.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/keymile/mgsuvd/mgsuvd.c')
-rw-r--r--board/keymile/mgsuvd/mgsuvd.c8
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