[PATCH v2 2/5] mtd: nand: add generic SPL NAND MTD loader
Tom Rini
trini at konsulko.com
Tue Feb 3 15:57:50 CET 2026
On Tue, Feb 03, 2026 at 03:47:18PM +0800, dinesh.maniyam at altera.com wrote:
> From: Dinesh Maniyam <dinesh.maniyam at altera.com>
>
> Add a generic SPL NAND MTD loader providing nand_get_mtd() and
> nand_spl_load_image() helpers.
>
> This allows SPL NAND MTD loading logic to be shared across NAND
> controllers instead of being embedded in individual drivers.
>
> Signed-off-by: Dinesh Maniyam <dinesh.maniyam at altera.com>
> ---
> drivers/mtd/nand/raw/spl_nand_mtd.c | 76 +++++++++++++++++++++++++++++
> 1 file changed, 76 insertions(+)
> create mode 100644 drivers/mtd/nand/raw/spl_nand_mtd.c
This is a good idea, and I'd like to see a follow-up RFC that switches
at least one other platform over showing that this really is generic
enough.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260203/5d691ad4/attachment.sig>
More information about the U-Boot
mailing list