[PATCH v3 3/7] configs: socfpga: n5x: enable CMD_MTD

Chen Huei Lok chen.huei.lok at altera.com
Mon Jun 8 03:27:37 CEST 2026


Enable MTD command support for the N5X platform.
- Enable CONFIG_CMD_MTD to allow MTD operations from the U-Boot shell

This option aligns N5X configuration with other SoCFPGA platforms
that use the same MTD framework.

Signed-off-by: Tien Fong Chee <tien.fong.chee at altera.com>
Signed-off-by: Chen Huei Lok <chen.huei.lok at altera.com>
---

Changes in v3:
- Drop CONFIG_SPL_ALTERA_SDRAM: auto-selected by Kconfig for N5X, no
  explicit defconfig entry needed
- Fix CONFIG_CMD_MTD position: correctly placed between CONFIG_CMD_MMC
  and CONFIG_CMD_SPI per canonical savedefconfig ordering (was
  misplaced after CONFIG_CMD_WDT in v2)
- Rename commit from "enable CMD_MTD and SPL SDRAM support" to
  "enable CMD_MTD" to reflect actual change

 configs/socfpga_n5x_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/socfpga_n5x_defconfig b/configs/socfpga_n5x_defconfig
index 97c90656e7d..9159fa0c859 100644
--- a/configs/socfpga_n5x_defconfig
+++ b/configs/socfpga_n5x_defconfig
@@ -52,6 +52,7 @@ CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_MTD=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_WDT=y
-- 
2.43.7



More information about the U-Boot mailing list