]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: Allow multiple loaders of the same time
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:23:07 +0000 (18:23 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:03:18 +0000 (11:03 -0400)
commit5a61bf17d893c269b9cec383ebdd7c1d5348a853
treeb7e0cc40263cb510dee77934fcad0190fbd778a7
parentc3a148f38f006c04bca0d695a38bc45c35c159fa
spl: Allow multiple loaders of the same time

At present we only support a single loader of each time. Extra ones are
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.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/spl/spl.c