[PATCH v2 2/5] mtd: nand: add generic SPL NAND MTD loader
Maniyam, Dinesh
dinesh.maniyam at altera.com
Wed Feb 11 08:21:35 CET 2026
Hi Tom, Michael
On 10/2/2026 4:17 am, Michael Nazzareno Trimarchi wrote:
> [CAUTION: This email is from outside your organization. Unless you trust the sender, do not click on links or open attachments as it may be a fraudulent email attempting to steal your information and/or compromise your computer.]
>
> 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
> Thanks for the feedback.
>
> I’ll send this as an RFC. I don’t currently have access to additional
> NAND platforms to validate the change myself, so testing and feedback
> from other maintainers would be greatly appreciated to help confirm
> that the solution is sufficiently generic.
>
> Dinesh
>
>
> --
> 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