diff options
| author | Simon Glass <[email protected]> | 2024-08-07 16:47:31 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-08-09 16:03:20 -0600 |
| commit | fefb53492f729626a515b67b1acca941ad07e974 (patch) | |
| tree | 3dadb45e106bf5783715f6020303079aeab9b442 /boot | |
| parent | 264f4b0b34c027fb913c3eac425ecfa30cef1f10 (diff) | |
upl: Add support for Universal Payload in SPL
Add the basic code to create a handoff structure in SPL, so it can be
passed to the next phase. For now this is not plumbed in.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/Kconfig | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index e37b08bf391..60a4cddf5ec 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -750,6 +750,7 @@ config UPL imply CMD_UPL imply UPL_READ imply UPL_WRITE + imply SPL_UPL if SPL help Provides support for UPL payloads and handoff information. U-Boot supports generating and accepting handoff information. The mkimage @@ -769,8 +770,39 @@ config UPL_WRITE help Provides support for encoding a UPL-format payload from a C structure so it can be passed to another program. This is just the writing + implementation, useful for trying it out. See SPL_UPL_OUT + for how to tell U-Boot SPL to actually write it before jumping to + the next phase. + +if SPL + +config SPL_UPL + bool "Write a UPL handoff in SPL" + imply SPL_UPL_OUT + help + This tells SPL to write a UPL handoff and pass it to the next phase + (e.g. to U-Boot or another program which SPL loads and runs). THis + provides information to help that program run correctly and + efficiently on the machine. + +config SPL_UPL_WRITE + bool # upl - Support writing a Universal Payload handoff in SPL + select SPL_BLOBLIST + help + Provides support for encoding a UPL-format payload from a C structure + so it can be passed to another program. This is just the writing implementation, useful for trying it out. +config SPL_UPL_OUT + bool "upl - Support writing a Universal Payload handoff in SPL" + select SPL_UPL_WRITE + help + Provides support for encoding a UPL-format payload and passing it to + the next firmware phase. This allows U-Boot SPL to function as + Platform Init in the meaning of the specification. + +endif # SPL + endif # UPL endif # BOOTSTD |
