summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2015-05-15 09:18:31 -0700
committerStefano Babic <sbabic@denx.de>2015-05-19 15:04:44 +0200
commite06a03625d00668a1f90408ea1e4cd29752207fe (patch)
tree6d574b72bf2d7a4e68eff3af1a012cec08e4c72c
parent55ff55e9b423611e180106a3190c6ece68665baf (diff)
downloadu-boot-imx-e06a03625d00668a1f90408ea1e4cd29752207fe.zip
u-boot-imx-e06a03625d00668a1f90408ea1e4cd29752207fe.tar.gz
u-boot-imx-e06a03625d00668a1f90408ea1e4cd29752207fe.tar.bz2
imx: ventana: add pmic_setup to SPL
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>
-rw-r--r--board/gateworks/gw_ventana/gw_ventana_spl.c3
-rw-r--r--include/configs/gw_ventana.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana_spl.c b/board/gateworks/gw_ventana/gw_ventana_spl.c
index 79cb594..2bec428 100644
--- a/board/gateworks/gw_ventana/gw_ventana_spl.c
+++ b/board/gateworks/gw_ventana/gw_ventana_spl.c
@@ -551,6 +551,9 @@ void spl_board_init(void)
default:
puts("Unknown boot device\n");
}
+
+ /* PMIC init */
+ setup_pmic();
}
void reset_cpu(ulong addr)
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index 663e9c5..533cbc3 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -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)