diff options
author | Simon Glass <sjg@chromium.org> | 2022-10-21 03:23:10 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-10-31 18:03:18 +0300 |
commit | d2b22ae23196604fda88e1ad9ec9f0e8fd285d07 (patch) | |
tree | de0c2bdf2ab67e2f95be3b1194ce1db53fe87f5e /arch | |
parent | 70b26e4356f9153d2d8195748a0e146c35b0c42e (diff) | |
download | u-boot-d2b22ae23196604fda88e1ad9ec9f0e8fd285d07.tar.xz |
vbe: Support reading the next SPL phase via VBE
Add an SPL loader to obtain the next-phase binary from a FIT provided
by the VBE driver.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sandbox/cpu/spl.c | 3 | ||||
-rw-r--r-- | arch/sandbox/include/asm/spl.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/sandbox/cpu/spl.c b/arch/sandbox/cpu/spl.c index 75f4601fdf..0faf34cc00 100644 --- a/arch/sandbox/cpu/spl.c +++ b/arch/sandbox/cpu/spl.c @@ -51,7 +51,8 @@ void board_init_f(ulong flag) void board_boot_order(u32 *spl_boot_list) { - spl_boot_list[0] = BOOT_DEVICE_BOARD; + spl_boot_list[0] = BOOT_DEVICE_VBE; + spl_boot_list[1] = BOOT_DEVICE_BOARD; } static int spl_board_load_file(struct spl_image_info *spl_image, diff --git a/arch/sandbox/include/asm/spl.h b/arch/sandbox/include/asm/spl.h index 312aef7208..2f8b5fcfcf 100644 --- a/arch/sandbox/include/asm/spl.h +++ b/arch/sandbox/include/asm/spl.h @@ -11,6 +11,7 @@ enum { BOOT_DEVICE_MMC2, BOOT_DEVICE_MMC2_2, BOOT_DEVICE_BOARD, + BOOT_DEVICE_VBE, }; /** |