This adds support for initializing MMC power from TWL6030 in SPL, which is required when the bootrom didn't power the MMC device yet and U-Boot is to be loaded from MMC (e.g. after setting boot mode from the SYS_BOOT pins in peripheral boot).
Signed-off-by: Paul Kocialkowski <cont...@paulk.fr> --- board/ti/panda/panda.c | 2 +- include/configs/omap4_panda.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/board/ti/panda/panda.c b/board/ti/panda/panda.c index 13b5daf..ebab4e7 100644 --- a/board/ti/panda/panda.c +++ b/board/ti/panda/panda.c @@ -292,12 +292,12 @@ int board_mmc_init(bd_t *bis) { return omap_mmc_init(0, 0, 0, -1, -1); } +#endif void board_mmc_power_init(void) { twl6030_power_mmc_init(0); } -#endif #ifdef CONFIG_USB_EHCI diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h index ffa22c3..41991e0 100644 --- a/include/configs/omap4_panda.h +++ b/include/configs/omap4_panda.h @@ -33,6 +33,8 @@ #include <configs/ti_omap4_common.h> +#define CONFIG_SPL_ABORT_ON_RAW_IMAGE + /* GPIO */ /* ENV related config options */ -- 2.9.3 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot