[PATCH 31/45] spl: Allow multiple loaders of the same type

Tom Rini trini at konsulko.com
Fri Sep 30 18:28:29 CEST 2022


On Sun, Sep 25, 2022 at 09:02:34AM -0600, Simon Glass wrote:

> At present we only support a single loader of each time. Extra ones are

Of each type not time, I assume.

> ignored. This means that only one BOOT_DEVICE_BOARD can be used in the SPL
> image.
> 
> This is inconvenient since we sometimes want to provide several
> board-specific drivers, albeit at different priorties. Add support for
> this.
> 
> This should have no functional change for existing boards.

To be clearer here. Today I can build am335x_evm_defconfig, and it will
have support for (among others) X/Y-MODEM and SD/MMC booting, and if SPL
loads via SD card, it will look at that same slot and find U-Boot, or
fail.

This patch doesn't change that, yes?

A later part of this series makes it possible, but not default?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220930/b63a862f/attachment.sig>


More information about the U-Boot mailing list