summaryrefslogtreecommitdiff
path: root/board/freescale/mx6qsabreauto/mx6qsabreauto.c
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2016-03-15 11:05:06 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 14:04:41 +0800
commitb3b794bf382101fd82cfa12a5e717bd2cc6ca10a (patch)
tree9b2d76acb3ee316381c29b0b3d39ce842554ee09 /board/freescale/mx6qsabreauto/mx6qsabreauto.c
parent2398e5ff576c6f0de86856f4b116315d0b34556b (diff)
downloadu-boot-imx-b3b794bf382101fd82cfa12a5e717bd2cc6ca10a.zip
u-boot-imx-b3b794bf382101fd82cfa12a5e717bd2cc6ca10a.tar.gz
u-boot-imx-b3b794bf382101fd82cfa12a5e717bd2cc6ca10a.tar.bz2
MLK-12493-1 Add support for various boot device
Add support for various boot devices like NAND, QSPINOR, SPINOR, eMMC, EIMNOR, SATA. Modify board level files to support the feature and add corresponding defconfig files Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 72c35e80b86f7f75a52db45959793882bb730793)
Diffstat (limited to 'board/freescale/mx6qsabreauto/mx6qsabreauto.c')
-rw-r--r--board/freescale/mx6qsabreauto/mx6qsabreauto.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/freescale/mx6qsabreauto/mx6qsabreauto.c b/board/freescale/mx6qsabreauto/mx6qsabreauto.c
index de68caf..a7ac9db 100644
--- a/board/freescale/mx6qsabreauto/mx6qsabreauto.c
+++ b/board/freescale/mx6qsabreauto/mx6qsabreauto.c
@@ -184,7 +184,7 @@ static int port_exp_direction_output(unsigned gpio, int value)
return 0;
}
-#ifdef CONFIG_SYS_USE_EIMNOR
+#ifdef CONFIG_MTD_NOR_FLASH
static iomux_v3_cfg_t const eimnor_pads[] = {
MX6_PAD_EIM_D16__EIM_DATA16 | MUX_PAD_CTRL(WEIM_NOR_PAD_CTRL),
MX6_PAD_EIM_D17__EIM_DATA17 | MUX_PAD_CTRL(WEIM_NOR_PAD_CTRL),
@@ -669,7 +669,7 @@ int board_early_init_f(void)
{
setup_iomux_uart();
-#ifdef CONFIG_SYS_USE_EIMNOR
+#ifdef CONFIG_MTD_NOR_FLASH
eim_clk_setup();
#endif
@@ -708,7 +708,7 @@ int board_init(void)
setup_sata();
#endif
-#ifdef CONFIG_SYS_USE_EIMNOR
+#ifdef CONFIG_MTD_NOR_FLASH
setup_iomux_eimnor();
#endif
return 0;