vbe: Support selecting operations by SPL phase
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:23:09 +0000 (18:23 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:03:18 +0000 (11:03 -0400)
commit70b26e4356f9153d2d8195748a0e146c35b0c42e
tree989bba69aef5da389fde5195e44a438c7a8f78de
parentf1459c365795a72fff94e249b0eb5cb61ead340e
vbe: Support selecting operations by SPL phase

VBE supports booting firmware during the SPL phases, i.e. so that VPL can
start SPL and SPL can start U-Boot.

It also supports booting an OS, when in U-Boot.

As a first step towards these features, add functions to indicate the
current VBE phase. The firmware selection is done in VPL and the OS
selection is done in U-Boot proper.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/vbe.h