summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-11-21 01:55:11 -0800
committerYe Li <ye.li@nxp.com>2018-11-21 21:50:46 -0800
commitc7ec95fe1145d805fcb88765a088142b6f35c00b (patch)
tree7f3a2041996fbe248fd64d141958708eed276118 /include
parentf39aa82a3dbcab9ac0807b794e524c9226fdf69a (diff)
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 <ye.li@nxp.com> (cherry picked from commit 59f6322db37945cf69cd418704ffef39b6fd5b31)
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6sabreauto.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/mx6sabreauto.h b/include/configs/mx6sabreauto.h
index a95c947f10d..4f82008e6ec 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