All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chen Huei Lok <chen.huei.lok@altera.com>
To: u-boot@lists.denx.de
Cc: Tien Fong Chee <tien.fong.chee@altera.com>,
	Tom Rini <trini@konsulko.com>, Marek Vasut <marex@denx.de>,
	Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>,
	Chen Huei Lok <chen.huei.lok@altera.com>,
	Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>,
	Dinesh Maniyam <dinesh.maniyam@altera.com>,
	Boon Khai Ng <boon.khai.ng@altera.com>,
	Kok Kiang Hea <kok.kiang.hea@altera.com>
Subject: [PATCH v2 3/8] configs: socfpga: n5x: enable CMD_MTD and SPL SDRAM support
Date: Tue, 28 Apr 2026 14:49:47 +0800	[thread overview]
Message-ID: <20260428064952.3965-4-chen.huei.lok@altera.com> (raw)
In-Reply-To: <20260428064952.3965-1-chen.huei.lok@altera.com>

Enable MTD command support and SPL SDRAM driver for the N5X platform.
- Enable CONFIG_CMD_MTD to allow MTD operations from the U-Boot shell
- Enable CONFIG_SPL_ALTERA_SDRAM to initialize SDRAM in SPL

These options align N5X configuration with other SoCFPGA platforms
that use the same SDRAM controller and MTD framework.

Signed-off-by: Tien Fong Chee <tien.fong.chee@altera.com>
Signed-off-by: Chen Huei Lok <chen.huei.lok@altera.com>
---
 configs/socfpga_n5x_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/socfpga_n5x_defconfig b/configs/socfpga_n5x_defconfig
index aeeaa1636ae..b6df9946ef3 100644
--- a/configs/socfpga_n5x_defconfig
+++ b/configs/socfpga_n5x_defconfig
@@ -55,6 +55,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_WDT=y
+CONFIG_CMD_MTD=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
@@ -68,6 +69,7 @@ CONFIG_SPL_DM_SEQ_ALIAS=y
 CONFIG_DWAPB_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_DW=y
+CONFIG_SPL_ALTERA_SDRAM=y
 CONFIG_SYS_MMC_MAX_BLK_COUNT=256
 CONFIG_MMC_DW=y
 CONFIG_SPI_FLASH_SPANSION=y
-- 
2.43.7


  parent reply	other threads:[~2026-04-28  7:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-28  6:49 [PATCH v2 0/8] socfpga: n5x: Update Boot Support for N5X Chen Huei Lok
2026-04-28  6:49 ` [PATCH v2 1/8] configs: socfpga: n5x: replace defconfig with ATF variant and simplify VAB Chen Huei Lok
2026-04-28  6:49 ` [PATCH v2 2/8] arm: dts: socfpga: n5x: enable DT register settings and update GMAC nodes Chen Huei Lok
2026-04-28  6:49 ` Chen Huei Lok [this message]
2026-04-28  6:49 ` [PATCH v2 4/8] configs: socfpga: n5x: enable required configs for DDR retention Chen Huei Lok
2026-04-28  6:49 ` [PATCH v2 5/8] configs: socfpga: n5x: enable ISSI QSPI Chen Huei Lok
2026-04-28  6:49 ` [PATCH v2 6/8] arm: socfpga: n5x: switch firewall setup to driver model Chen Huei Lok
2026-04-28  6:49 ` [PATCH v2 7/8] arch: arm: dts: n5x: switch to using upstream Linux DT config Chen Huei Lok
2026-04-28  6:49 ` [PATCH v2 8/8] arm: socfpga: n5x: update SPL data save and restore implementation Chen Huei Lok
  -- strict thread matches above, loose matches on Subject: below --
2026-04-28  7:00 [PATCH v2 0/8] socfpga: n5x: Update Boot Support for N5X Chen Huei Lok
2026-04-28  7:00 ` [PATCH v2 3/8] configs: socfpga: n5x: enable CMD_MTD and SPL SDRAM support Chen Huei Lok
2026-05-14  3:00   ` Chee, Tien Fong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260428064952.3965-4-chen.huei.lok@altera.com \
    --to=chen.huei.lok@altera.com \
    --cc=alif.zakuan.yuslaimi@altera.com \
    --cc=boon.khai.ng@altera.com \
    --cc=dinesh.maniyam@altera.com \
    --cc=kok.kiang.hea@altera.com \
    --cc=marex@denx.de \
    --cc=simon.k.r.goldschmidt@gmail.com \
    --cc=tien.fong.chee@altera.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.