[PATCH v2 2/5] mtd: nand: add generic SPL NAND MTD loader
Michael Nazzareno Trimarchi
michael at amarulasolutions.com
Mon Feb 9 21:17:28 CET 2026
Hi
On Tue, Feb 3, 2026 at 3:57 PM Tom Rini <trini at konsulko.com> wrote:
>
> 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
>
Reviewed-By: Michael Trimarchi <michael at amarulasolutions.com>
> 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
--
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
michael at amarulasolutions.com
__________________________________
Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
info at amarulasolutions.com
www.amarulasolutions.com
More information about the U-Boot
mailing list