Commit 89f74eb986c4f7b03ca49d442c8527b18dd87bc4

Authored by Ye Li
1 parent b932ab6d81

MLK-14365 nand: replace the CONFIG_SYS_USE_NAND

The CONFIG_SYS_USE_NAND is not used in v2017.03. We have to replace it
by other NAND configurations, like CONFIG_CMD_NAND or CONFIG_NAND_MXS.

Signed-off-by: Ye Li <ye.li@nxp.com>

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

board/freescale/mx6ul_14x14_lpddr2_arm2/mx6ul_14x14_lpddr2_arm2.c
... ... @@ -477,7 +477,7 @@
477 477 gpio_request(USDHC1_PWR_GPIO, "usdhc1 pwr");
478 478 gpio_direction_output(USDHC1_PWR_GPIO, 1);
479 479 break;
480   -#if !defined(CONFIG_SYS_USE_NAND)
  480 +#if !defined(CONFIG_CMD_NAND)
481 481 case 1:
482 482 #ifdef CONFIG_MX6UL_LPDDR2_ARM2_USDHC2_REWORK
483 483 imx_iomux_v3_setup_multiple_pads(
board/freescale/mx7d_19x19_lpddr3_arm2/mx7d_19x19_lpddr3_arm2.c
... ... @@ -493,7 +493,7 @@
493 493 setup_eimnor();
494 494 #endif
495 495  
496   -#ifdef CONFIG_SYS_USE_NAND
  496 +#ifdef CONFIG_NAND_MXS
497 497 setup_gpmi_nand();
498 498 #endif
499 499