]> git.dujemihanovic.xyz Git - u-boot.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)
committerStefano Babic <sbabic@denx.de>
Tue, 19 May 2015 13:04:44 +0000 (15:04 +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 663e9c57c91640916a6c09ddcd85f5893df5694b..533cbc36e1a011935d80d983eee38cc88b4aba60 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)