summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-08-07 16:47:34 -0600
committerTom Rini <[email protected]>2024-08-09 16:03:20 -0600
commit0fc406ab20e6fa1e92e68a2c51b73fc4d59b057f (patch)
tree2e37151126ff26112dbc025807843acba8a20a1a /boot
parentec2186acbc4c7cf3b921ad6e822f6988d1e134b3 (diff)
upl: Plumb in universal payload to the init process
Read the UPL early in boot so that it is available. For now none of the information is used. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'boot')
-rw-r--r--boot/Kconfig12
1 files changed, 11 insertions, 1 deletions
diff --git a/boot/Kconfig b/boot/Kconfig
index 60a4cddf5ec..7ac34574079 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -763,7 +763,9 @@ config UPL_READ
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.
+ implementation, useful for trying it out. See UPL_IN for how
+ to tell U-Boot to actually read it on startup and use it for memory
+ and device information, etc.
config UPL_WRITE
bool "upl - Support writing a Universal Payload handoff"
@@ -774,6 +776,14 @@ config UPL_WRITE
for how to tell U-Boot SPL to actually write it before jumping to
the next phase.
+config UPL_IN
+ bool "upl - Read the UPL handoff on startup"
+ select UPL_READ
+ help
+ Read an SPL handoff when U-Boot starts and use it to provide
+ devices, memory layout, etc. required by U-Boot. This allows U-Boot
+ to function as a payload in the meaning of the specification.
+
if SPL
config SPL_UPL