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 59f6322db3)
This commit is contained in:
parent
f39aa82a3d
commit
c7ec95fe11
|
|
@ -27,10 +27,8 @@
|
||||||
#include "mx6sabre_common.h"
|
#include "mx6sabre_common.h"
|
||||||
|
|
||||||
#define CONFIG_SYS_FSL_USDHC_NUM 2
|
#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_DEV 1 /* SDHC3 */
|
||||||
#define CONFIG_SYS_MMC_ENV_PART 0 /* user partition */
|
#define CONFIG_SYS_MMC_ENV_PART 0 /* user partition */
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_CMD_SF
|
#ifdef CONFIG_CMD_SF
|
||||||
#define CONFIG_SF_DEFAULT_CS 1
|
#define CONFIG_SF_DEFAULT_CS 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue