ARM: omap3_logic: Power on MMC when setting up PMIC
authorAdam Ford <aford173@gmail.com>
Sun, 3 Nov 2019 22:18:27 +0000 (16:18 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 7 Nov 2019 23:39:18 +0000 (18:39 -0500)
The PMIC enables power to the MMC card by default, but depending
on the state it was left when restarted, it's possible the MMC
may be powered down.

This patch patch explicitly tells the twl4030 to power the MMC.

Signed-off-by: Adam Ford <aford173@gmail.com>
board/logicpd/omap3som/omap3logic.c

index ee77ce077c1ae319067fc94877ca1efe186163c8..43f049e592feb63be08eaa978e96862d6d9fdbe6 100644 (file)
@@ -141,6 +141,7 @@ void spl_board_prepare_for_linux(void)
 int misc_init_r(void)
 {
        twl4030_power_init();
+       twl4030_power_mmc_init(0);
        omap_die_id_display();
        return 0;
 }