vbe: Record which phases loaded using VBE

We expect VPL and SPL to load using VBE. Add a record of this so we can
check it in U-Boot proper.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2022-10-20 18:23:18 -06:00
committed by Tom Rini
parent 2a5c67f50a
commit d8b7c34f98
3 changed files with 20 additions and 0 deletions

View File

@@ -25,6 +25,15 @@ enum vbe_phase_t {
VBE_PHASE_OS,
};
/**
* struct vbe_handoff - information about VBE progress
*
* @phases: Indicates which phases used the VBE bootmeth (1 << PHASE_...)
*/
struct vbe_handoff {
u8 phases;
};
/**
* vbe_phase() - get current VBE phase
*