From: Dinesh Maniyam <[email protected]> This series enables NAND boot support on SoCFPGA Agilex platforms.
It adds support for loading U-Boot from NAND in SPL using the full NAND/MTD framework, cleans up controller-specific SPL helpers, and enables the required NAND configuration for Agilex boards. No functional change is intended for platforms that do not enable SPL NAND MTD framework support. v1->v2: -------- Patch 1: Add SPL_MAX_SIZE dependency History: -------- [v1]: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/ Dinesh Maniyam (5): mtd: nand: introduce SPL_NAND_FRAMEWORK_CAPABLE Kconfig option mtd: nand: add generic SPL NAND MTD loader mtd: nand: wire SPL NAND MTD loader into SPL build arm: socfpga: imply SPL_NAND_FRAMEWORK_CAPABLE for Agilex platforms arm: socfpga: enable NAND support for Agilex arch/arm/mach-socfpga/Kconfig | 2 + configs/socfpga_agilex_defconfig | 11 +++++ drivers/mtd/nand/raw/Kconfig | 30 ++++++++++++ drivers/mtd/nand/raw/Makefile | 1 + drivers/mtd/nand/raw/spl_nand_mtd.c | 76 +++++++++++++++++++++++++++++ 5 files changed, 120 insertions(+) create mode 100644 drivers/mtd/nand/raw/spl_nand_mtd.c -- 2.43.7

