]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox: Support obtaining the next phase from an image
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:23:08 +0000 (18:23 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:03:18 +0000 (11:03 -0400)
commitef9241f2d0c96b50b37526b00e4bf3d2bcb61060
tree5f375e56f815ea70a09786183b049399dbae97d7
parentb26afe2cd0c75ecee210fe7f987d40d6f5c345af
sandbox: Support obtaining the next phase from an image

At present sandbox runs the next phase from discrete executables, so for
example u-boot-tpl runs u-boot-vpl to get to the next phase.

In some cases the phases are all built into a single firmware image, as is
done for real boards. Add support for this to sandbox.

Make it higher priority so that it takes precedence over the existing
method.

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