]> git.baikalelectronics.ru Git - uboot.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)
commit60ff8290e314d63afdb5d54e38b9b036dec2b390
treee065103d18f91c32b86cf805f18301ed9886c23a
parenta8210fbbaeba812c3cb4e449a2a7ffb1596d0ad4
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