[PATCH v3 0/7] socfpga: n5x: Update Boot Support for N5X
Chen Huei Lok
chen.huei.lok at altera.com
Mon Jun 8 03:27:34 CEST 2026
This patch series updates the N5X platform support:
- Consolidate ATF defconfig and simplify VAB defconfig
- Update GMAC nodes and DT register settings
- Enable CMD_MTD for MTD operations from the U-Boot shell
- Enable ISSI SPI flash support
- Migrate firewall setup to driver model and remove legacy code
- Switch to upstream Linux DT configuration
- Update SPL data save and restore implementation
Tested-on: Intel SoCFPGA N5X SoCDK hardware.
Note: This series depends on a concurrent patch series by Alif Zakuan
Yuslaimi that removes the final firewall_setup() call in spl_s10.c.
Please apply that series before this one. See the latest version at:
https://patchwork.ozlabs.org/project/uboot/cover/20260605015503.11709-1-alif.zakuan.yuslaimi@altera.com/
v2->v3:
--------
- Drop patch 4/8 (enable required configs for DDR retention): moved
to a separate series for DDR retention support
- Patch 3: Fix CONFIG_CMD_MTD position in defconfig (between CMD_MMC
and CMD_SPI per canonical savedefconfig ordering); drop
CONFIG_SPL_ALTERA_SDRAM (auto-selected by Kconfig for N5X)
- Patch 4 (was 5/8): Fix CONFIG_SPI_FLASH_ISSI position in defconfig
(before CONFIG_SPI_FLASH_SPANSION per canonical savedefconfig order)
- Patch 5 (was 6/8): Extend to fully remove firewall_setup(): delete
firewall.c, remove firewall.o from Makefile, remove declaration and
unused struct/macro definitions from firewall.h, drop stale include
from spl_n5x.c
- Patch 6 (was 7/8): Fix CONFIG_OF_UPSTREAM position in defconfig
(after CONFIG_CMD_FS_GENERIC per canonical savedefconfig ordering)
v1->v2:
--------
- Fix patch series submission
- Clean up redundant DTS override
History:
--------
[v1] https://patchwork.ozlabs.org/project/uboot/cover/20260318030034.25889-1-chen.huei.lok@altera.com/
[v2] https://patchwork.ozlabs.org/project/uboot/cover/20260428070017.16807-1-chen.huei.lok@altera.com/
Chen Huei Lok (7):
configs: socfpga: n5x: consolidate ATF defconfig and simplify VAB
arm: dts: socfpga: n5x: update GMAC nodes and DT register settings
configs: socfpga: n5x: enable CMD_MTD
configs: socfpga: n5x: enable ISSI QSPI
arm: socfpga: n5x: switch firewall setup to driver model
arch: arm: dts: n5x: switch to using upstream Linux DT config
arm: socfpga: n5x: update SPL data save and restore implementation
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/socfpga_n5x-u-boot.dtsi | 55 ++++++++-
arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi | 18 +--
arch/arm/mach-socfpga/Makefile | 1 -
arch/arm/mach-socfpga/firewall.c | 107 ------------------
arch/arm/mach-socfpga/include/mach/firewall.h | 69 -----------
arch/arm/mach-socfpga/spl_n5x.c | 31 ++++-
configs/socfpga_n5x_atf_defconfig | 89 ---------------
configs/socfpga_n5x_defconfig | 26 +++--
configs/socfpga_n5x_vab_defconfig | 90 +--------------
10 files changed, 112 insertions(+), 377 deletions(-)
delete mode 100644 arch/arm/mach-socfpga/firewall.c
delete mode 100644 configs/socfpga_n5x_atf_defconfig
--
2.43.7
More information about the U-Boot
mailing list