Maximilian Brune has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/80191?usp=email )
Change subject: payloads/Kconfig: Add flat binary as payload option ......................................................................
payloads/Kconfig: Add flat binary as payload option
This add another choice option for adding a flat binary instead of an ELF or some other payload. It keeps the IS_PAYLOAD_FLAT_BINARY hidden in the menuconfig because it is generally not configurable but dependend on the payload you selected. The patch also guards the PAYLOAD_OPTIONS option since it usually only makes sense to configure it if the payload is a flat binary.
Signed-off-by: Maximilian Brune maximilian.brune@9elements.com Change-Id: If775e0846f9a5631da3fc103bdd9e6aea0be879a --- M payloads/Kconfig 1 file changed, 9 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/91/80191/1
diff --git a/payloads/Kconfig b/payloads/Kconfig index 9304629..8990aa3 100644 --- a/payloads/Kconfig +++ b/payloads/Kconfig @@ -38,6 +38,13 @@ You will be able to specify the location and file name of the payload image later.
+config PAYLOAD_FLAT_BINARY + bool "Payload is a flat binary" + select PAYLOAD_IS_FLAT_BINARY + help + Add the payload to cbfs as a flat binary type instead of as an + elf payload + source "payloads/external/*/Kconfig.name"
endchoice @@ -82,15 +89,13 @@ config PAYLOAD_OPTIONS string "Additional cbfstool options" default "" + depends on PAYLOAD_IS_FLAT_BINARY help Additional cbfstool options for the payload
config PAYLOAD_IS_FLAT_BINARY - bool "Payload is a flat binary" + bool default n - help - Add the payload to cbfs as a flat binary type instead of as an - elf payload
config PAYLOAD_FIT_SUPPORT bool "FIT support"