[PATCH] spl: Add generic SPL MTD loader support
Sean Anderson
seanga2 at gmail.com
Fri Feb 20 04:28:38 CET 2026
On 2/19/26 22:14, Fabio Estevam wrote:
> Hi Sean,
>
> On Tue, Feb 17, 2026 at 12:11 PM Sean Anderson <seanga2 at gmail.com> wrote:
>
>> Thanks for putting this together. For platforms that have the space this
>> is definitely the way to go.
>
> Thanks for your review.
>
> I addressed your feedback in v2, except for adding the tests.
>
> I'll try to get familiar with the test infrastructure.
You should be able to just copy the existing tests (e.g. just the bit that
calls do_spl_test_load) but do something like
SPL_LOAD_IMAGE_GET(1, BOOT_DEVICE_NAND, spl_mtd_load_image)
when selecting the loader.
--Sean
More information about the U-Boot
mailing list