]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
imx: ventana: add pmic_setup to SPL
authorTim Harvey <tharvey@gateworks.com>
Fri, 15 May 2015 16:18:31 +0000 (09:18 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 13:00:31 +0000 (15:00 +0200)
We need to do any PMIC setup in the SPL if we are to bypass U-Boot for
falcon mode.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/gw_ventana/gw_ventana_spl.c
include/configs/gw_ventana.h

index 79cb5943d0ef38c932aa49b9fc78df81838066ac..2bec428aa11327ec330cfbef7a1e9cb8fd0ac005 100644 (file)
@@ -551,6 +551,9 @@ void spl_board_init(void)
        default:
                puts("Unknown boot device\n");
        }
+
+       /* PMIC init */
+       setup_pmic();
 }
 
 void reset_cpu(ulong addr)
index d31e1ebd0a69e25f62a4cb717593946f9cfd317e..33e895e679b487f8e17288e360824336485a9bc2 100644 (file)
@@ -13,6 +13,7 @@
 #define CONFIG_SPL_BOARD_INIT
 #define CONFIG_SPL_NAND_SUPPORT
 #define CONFIG_SPL_MMC_SUPPORT
+#define CONFIG_SPL_POWER_SUPPORT
 /* Location in NAND to read U-Boot from */
 #define CONFIG_SYS_NAND_U_BOOT_OFFS     (14 * SZ_1M)