summaryrefslogtreecommitdiff
path: root/boot/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-08-07 16:47:27 -0600
committerTom Rini <[email protected]>2024-08-09 16:03:19 -0600
commit90469da3da0dc6f113dfc582d4db2ac9e9f171ec (patch)
treedc22bbe1b55a00d252a9952b87b0fd33c95981ee /boot/Kconfig
parent16b9c64caf900a9ce4623090e8263a7da2746998 (diff)
upl: Add support for reading a upl handoff
Universal Payload provides a standard way of handing off control between two firmware phases. Add support for reading the handoff information into a structure. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'boot/Kconfig')
-rw-r--r--boot/Kconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig
index 940389d4882..30106291e6b 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -745,6 +745,25 @@ config BOOTMETH_SCRIPT
This provides a way to try out standard boot on an existing boot flow.
It is not enabled by default to save space.
+config UPL
+ bool "upl - Universal Payload Specification"
+ imply UPL_READ
+ help
+ Provides support for UPL payloads and handoff information. U-Boot
+ supports generating and accepting handoff information. The mkimage
+ tool will eventually support creating payloads.
+
+if UPL
+
+config UPL_READ
+ bool "upl - Support reading a Universal Payload handoff"
+ help
+ Provides support for decoding a UPL-format payload into a C structure
+ which can be used elsewhere in U-Boot. This is just the reading
+ implementation, useful for trying it out.
+
+endif # UPL
+
endif # BOOTSTD
config LEGACY_IMAGE_FORMAT