From: Ley Foon Tan <[email protected]>

Move CONFIG_MTDIDS_DEFAULT to defconfig and add mtdids to ENV settings.

Signed-off-by: Ley Foon Tan <[email protected]>
Signed-off-by: Jit Loon Lim <[email protected]>
---
 configs/socfpga_stratix10_defconfig      | 1 +
 configs/socfpga_stratix10_qspi_defconfig | 1 +
 2 files changed, 2 insertions(+)

diff --git a/configs/socfpga_stratix10_defconfig 
b/configs/socfpga_stratix10_defconfig
index 39226a8b95..519a98e844 100644
--- a/configs/socfpga_stratix10_defconfig
+++ b/configs/socfpga_stratix10_defconfig
@@ -60,6 +60,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0"
 CONFIG_ENV_IS_IN_MMC=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_USE_BOOTFILE=y
diff --git a/configs/socfpga_stratix10_qspi_defconfig 
b/configs/socfpga_stratix10_qspi_defconfig
index 27730db8c8..0c6c551822 100644
--- a/configs/socfpga_stratix10_qspi_defconfig
+++ b/configs/socfpga_stratix10_qspi_defconfig
@@ -41,6 +41,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0"
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
-- 
2.26.2

Reply via email to