From c7ec95fe1145d805fcb88765a088142b6f35c00b Mon Sep 17 00:00:00 2001 From: Ye Li Date: Wed, 21 Nov 2018 01:55:11 -0800 Subject: [PATCH] MLK-20424 mx6sabreauto: Define CONFIG_MMC_ENV_DEV for all boot devices The CONFIG_MMC_ENV_DEV binds with CONFIG_ENV_IS_IN_MMC on mx6sabreauto. When booting from other boot devices like EIMNOR, SPINOR, they need to load kernel from SD, if the configuration is not set, the loading will fail. Signed-off-by: Ye Li (cherry picked from commit 59f6322db37945cf69cd418704ffef39b6fd5b31) --- include/configs/mx6sabreauto.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/mx6sabreauto.h b/include/configs/mx6sabreauto.h index a95c947f10..4f82008e6e 100644 --- a/include/configs/mx6sabreauto.h +++ b/include/configs/mx6sabreauto.h @@ -27,10 +27,8 @@ #include "mx6sabre_common.h" #define CONFIG_SYS_FSL_USDHC_NUM 2 -#if defined(CONFIG_ENV_IS_IN_MMC) #define CONFIG_SYS_MMC_ENV_DEV 1 /* SDHC3 */ #define CONFIG_SYS_MMC_ENV_PART 0 /* user partition */ -#endif #ifdef CONFIG_CMD_SF #define CONFIG_SF_DEFAULT_CS 1