summaryrefslogtreecommitdiff
path: root/scripts/Kbuild.include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-04-30 09:56:52 +0300
committerTom Rini <trini@konsulko.com>2022-05-02 16:58:13 +0300
commitf86ca5ad8f780d306e79d49ffe4f5cf1edef37b9 (patch)
treea2eac09d5cb3376288fc135b1563abb1af7bbb16 /scripts/Kbuild.include
parentd3eba95a7e9b6b89404a3ddb2945f03cff4effb4 (diff)
downloadu-boot-f86ca5ad8f780d306e79d49ffe4f5cf1edef37b9.tar.xz
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>
Diffstat (limited to 'scripts/Kbuild.include')
-rw-r--r--scripts/Kbuild.include4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index 09506cb9a7..9c14310ad4 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -322,11 +322,15 @@ endif
ifdef CONFIG_SPL_BUILD
SPL_ := SPL_
+ifeq ($(CONFIG_VPL_BUILD),y)
+SPL_TPL_ := VPL_
+else
ifeq ($(CONFIG_TPL_BUILD),y)
SPL_TPL_ := TPL_
else
SPL_TPL_ := SPL_
endif
+endif
else
SPL_ :=
SPL_TPL_ :=