imx: ventana: add EMMC configuration
Prepare for boards with EMMC instead of NAND flash Signed-off-by: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
committed by
Stefano Babic
parent
3e0a71c157
commit
d883fcc6bb
@@ -68,7 +68,7 @@
|
||||
#define CONFIG_SF_DEFAULT_MODE (SPI_MODE_0)
|
||||
#endif
|
||||
|
||||
#else
|
||||
#elif defined(CONFIG_SPL_NAND_SUPPORT)
|
||||
/* Enable NAND support */
|
||||
#define CONFIG_CMD_NAND
|
||||
#define CONFIG_CMD_NAND_TRIMFFS
|
||||
@@ -227,9 +227,11 @@
|
||||
|
||||
/* Persistent Environment Config */
|
||||
#ifdef CONFIG_SPI_FLASH
|
||||
#define CONFIG_ENV_IS_IN_SPI_FLASH
|
||||
#define CONFIG_ENV_IS_IN_SPI_FLASH
|
||||
#elif defined(CONFIG_SPL_NAND_SUPPORT)
|
||||
#define CONFIG_ENV_IS_IN_NAND
|
||||
#else
|
||||
#define CONFIG_ENV_IS_IN_NAND
|
||||
#define CONFIG_ENV_IS_IN_MMC
|
||||
#endif
|
||||
#if defined(CONFIG_ENV_IS_IN_MMC)
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
|
||||
Reference in New Issue
Block a user