]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/corscience/tricorder/tricorder.c
Merge branch 'master' of git://git.denx.de/u-boot-usb
[karo-tx-uboot.git] / board / corscience / tricorder / tricorder.c
index 2dfcb271d326812b01343715c4a09dfbfc8c743f..0fddf4551e7c64329bae1a45f38a9eb0f8c0e31e 100644 (file)
@@ -79,6 +79,8 @@ static void get_eeprom(struct tricorder_eeprom *eeprom)
                } else {
                        panic("Could not get board revision\n");
                }
+       } else {
+               memset(eeprom, 0, TRICORDER_EEPROM_SIZE);
        }
 }
 
@@ -145,6 +147,13 @@ int board_mmc_init(bd_t *bis)
 }
 #endif
 
+#if defined(CONFIG_GENERIC_MMC)
+void board_mmc_power_init(void)
+{
+       twl4030_power_mmc_init(0);
+}
+#endif
+
 /*
  * Routine: get_board_mem_timings
  * Description: If we use SPL then there is no x-loader nor config header