]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: Generalise SPL booting
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:23:01 +0000 (18:23 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:02:44 +0000 (11:02 -0400)
commit830690d2ed29c5a0960ca13b00c938e352bf6f51
treee065103d18f91c32b86cf805f18301ed9886c23a
parent494e66d3a9abc5b47258a9f2d7b41f1341015c44
sandbox: Generalise SPL booting

At present sandbox only supports jumping to a file, to get to the next
U-Boot phase. We want to support other methods, so update the code to
use an enum for the method. Also use the

Use board_boot_order() to set the order, so we can add more options.
Also add the MMC methods into the BOOT_DEVICE enum so that booting
from MMC can be supported.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/spl.c
arch/sandbox/include/asm/spl.h
include/spl.h