diff --git a/board/freescale/mx6ul_14x14_lpddr2_arm2/mx6ul_14x14_lpddr2_arm2.c b/board/freescale/mx6ul_14x14_lpddr2_arm2/mx6ul_14x14_lpddr2_arm2.c index 9da8155..62cb25d 100644 --- a/board/freescale/mx6ul_14x14_lpddr2_arm2/mx6ul_14x14_lpddr2_arm2.c +++ b/board/freescale/mx6ul_14x14_lpddr2_arm2/mx6ul_14x14_lpddr2_arm2.c @@ -477,7 +477,7 @@ int board_mmc_init(bd_t *bis) gpio_request(USDHC1_PWR_GPIO, "usdhc1 pwr"); gpio_direction_output(USDHC1_PWR_GPIO, 1); break; -#if !defined(CONFIG_SYS_USE_NAND) +#if !defined(CONFIG_CMD_NAND) case 1: #ifdef CONFIG_MX6UL_LPDDR2_ARM2_USDHC2_REWORK imx_iomux_v3_setup_multiple_pads( diff --git a/board/freescale/mx7d_19x19_lpddr3_arm2/mx7d_19x19_lpddr3_arm2.c b/board/freescale/mx7d_19x19_lpddr3_arm2/mx7d_19x19_lpddr3_arm2.c index 927289c..e26a789 100644 --- a/board/freescale/mx7d_19x19_lpddr3_arm2/mx7d_19x19_lpddr3_arm2.c +++ b/board/freescale/mx7d_19x19_lpddr3_arm2/mx7d_19x19_lpddr3_arm2.c @@ -493,7 +493,7 @@ int board_init(void) setup_eimnor(); #endif -#ifdef CONFIG_SYS_USE_NAND +#ifdef CONFIG_NAND_MXS setup_gpmi_nand(); #endif