Commit 59f6322db37945cf69cd418704ffef39b6fd5b31

Authored by Ye Li
1 parent eb1892df16

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>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

include/configs/mx6sabreauto.h
... ... @@ -27,10 +27,8 @@
27 27 #include "mx6sabre_common.h"
28 28  
29 29 #define CONFIG_SYS_FSL_USDHC_NUM 2
30   -#if defined(CONFIG_ENV_IS_IN_MMC)
31 30 #define CONFIG_SYS_MMC_ENV_DEV 1 /* SDHC3 */
32 31 #define CONFIG_SYS_MMC_ENV_PART 0 /* user partition */
33   -#endif
34 32  
35 33 #ifdef CONFIG_CMD_SF
36 34 #define CONFIG_SF_DEFAULT_CS 1