summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-10-08 19:42:20 -0700
committerYe Li <ye.li@nxp.com>2018-10-10 02:00:30 -0700
commit2bbd86512d5581aba50a47ca21e0b6df3896345d (patch)
treea17bbf54a89c4fcbe9df10d426a4b704a94658c7
parent1c2c7b61a3c2838051f2fdd54914e837f4ed874e (diff)
MLK-19783-2 mx6slevk: Fix wrong mmcdev value in spinor build image
Decouple the CONFIG_SYS_MMC_ENV_DEV with CONFIG_ENV_IS_IN_MMC to fix wrong mmcdev value in spinor build image. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit f800cd6890900c79266750a4faff375028612ecb)
-rw-r--r--include/configs/mx6slevk.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
index 1565c904e4..9e3645d877 100644
--- a/include/configs/mx6slevk.h
+++ b/include/configs/mx6slevk.h
@@ -217,9 +217,7 @@
#define CONFIG_MMCROOT "/dev/mmcblk1p2" /* USDHC2 */
#define CONFIG_SYS_FSL_USDHC_NUM 3
-#if defined(CONFIG_ENV_IS_IN_MMC)
#define CONFIG_SYS_MMC_ENV_DEV 1 /* SDHC2*/
-#endif
#define CONFIG_IMX_THERMAL