Introduce Verifying Program Loader (VPL)

Add support for VPL, a new phase of U-Boot. This runs after TPL. It is
responsible for selecting which SPL binary to run, based on a
verified-boot process.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2022-04-30 00:56:52 -06:00
committed by Tom Rini
parent d3eba95a7e
commit f86ca5ad8f
13 changed files with 131 additions and 19 deletions

View File

@@ -83,7 +83,12 @@ U-Boot Phases
U-Boot boots through the following phases:
TPL
Very early init, as tiny as possible. This loads SPL.
Very early init, as tiny as possible. This loads SPL (or VPL if enabled).
VPL
Optional verification step, which can select one of several SPL binaries,
if A/B verified boot is enabled. Implementation of the VPL logic is
work-in-progress. For now it just boots into SPL.
SPL
Secondary program loader. Sets up SDRAM and loads U-Boot proper. It may also