Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/69792 )
Change subject: payloads/Kconfig: Don't show FIT payload option on x86 ......................................................................
payloads/Kconfig: Don't show FIT payload option on x86
On AMD systems where the verstage selects ARCH_ARM the bogus option to add a FIT payload will be show. Therefore be more specific about the arch of the stage loading the payload (ramstage).
Change-Id: I7afc3b94c5ab8044af0920c87cc8d190467c2a88 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M payloads/Kconfig 1 file changed, 17 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/92/69792/1
diff --git a/payloads/Kconfig b/payloads/Kconfig index 2a2773a..677e78c 100644 --- a/payloads/Kconfig +++ b/payloads/Kconfig @@ -28,7 +28,7 @@
config PAYLOAD_FIT bool "A FIT payload" - depends on ARCH_ARM64 || ARCH_RISCV || ARCH_ARM + depends on ARCH_RAMSTAGE_ARM || ARCH_RAMSTAGE_ARM64 || ARCH_RAMSTAGE_RISCV select PAYLOAD_FIT_SUPPORT help Select this option if you have a payload image (a FIT file) which @@ -94,8 +94,8 @@ config PAYLOAD_FIT_SUPPORT bool "FIT support" default n - default y if PAYLOAD_LINUX && (ARCH_ARM || ARCH_ARM64 || ARCH_RISCV) - depends on ARCH_ARM64 || ARCH_RISCV || ARCH_ARM + default y if PAYLOAD_LINUX && (ARCH_RAMSTAGE_ARM || ARCH_RAMSTAGE_ARM64 || ARCH_RAMSTAGE_RISCV) + depends on ARCH_RAMSTAGE_ARM || ARCH_RAMSTAGE_ARM64 || ARCH_RAMSTAGE_RISCV select FLATTENED_DEVICE_TREE help Select this option if your payload is of type FIT.