diff mbox series

[2/8] configs: HSD #1508104447-3: configs: socfpga: stratix10: Move CONFIG_MTDIDS_DEFAULT to defconfig

Message ID 20220911161032.23861-2-jit.loon.lim@intel.com
State Needs Review / ACK, archived
Delegated to: Marek Vasut
Headers show
Series [1/8] configs: HSD #1508104447-2: configs: socfpga: stratix10: Enable CONFIG_CMD_MTD | expand

Commit Message

Jit Loon Lim Sept. 11, 2022, 4:10 p.m. UTC
From: Ley Foon Tan <ley.foon.tan@intel.com>

Move CONFIG_MTDIDS_DEFAULT to defconfig and add mtdids to ENV settings.

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
---
 configs/socfpga_stratix10_defconfig      | 1 +
 configs/socfpga_stratix10_qspi_defconfig | 1 +
 2 files changed, 2 insertions(+)
diff mbox series

Patch

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