vbe: Update simple-fw to support using the SPL loader
authorSimon Glass <sjg@chromium.org>
Thu, 16 Jan 2025 01:27:23 +0000 (18:27 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 22 Jan 2025 15:47:50 +0000 (09:47 -0600)
commit68727fac696537b368324fbff61094f8b0d82048
tree0ad28ff433751cbd7cc86c2e21f0480dc01940e0
parent9ecc1cabe1dd9c013ace4f9d5144bfd69fa2eedf
vbe: Update simple-fw to support using the SPL loader

For a sandbox implementation, where code size is no object, it makes sense
to use the full bootstd drivers to load images.

For real boards, running from SRAM, this adds quite a bit of overhead.

Add a way to load the next phase using just the underlying storage
driver, to reduce code size. For now, only MMC is supported.

Change the log_debug() to show the load address and size in a more
neutral way, rather than suggesting that the load has already happened.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/vbe_common.c
boot/vbe_simple_fw.c