]> git.sur5r.net Git - u-boot/blobdiff - board/keymile/mgcoge/mgcoge.c
mgcoge, mgsuvd: added support for the IVM EEprom.
[u-boot] / board / keymile / mgcoge / mgcoge.c
index d3e46f55e7053f373ff37facc477d897152bcf2b..31703ab14f6c88740de3fb7fd4bbf246d48cc88e 100644 (file)
@@ -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