Message ID | 20160824180442.11598-2-contact@paulk.fr |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
On Wed, Aug 24, 2016 at 08:04:41PM +0200, Paul Kocialkowski wrote: > 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 <contact@paulk.fr> Reviewed-by: Tom Rini <trini@konsulko.com>
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 */
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 <contact@paulk.fr> --- board/ti/panda/panda.c | 2 +- include/configs/omap4_panda.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)