From 94cdec686e41fa2d632241c011cef87093cd4c17 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Thu, 6 Jun 2019 19:36:02 +0200 Subject: Kconfig: Guard RAMPAYLOAD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The RAMPAYLOAD symbol added by 7e893a02c0 (Kconfig: Create RAMPAYLOAD kconfig) is shown unconditionally for all x86 systems. It generally creates a lot of confusion to prompt for something that isn't imple- mented or not working. So guard it with another Kconfig that can be selected by platforms that actually support it. Change-Id: I6d158382d1000b8b40ca1368e2efff0c39884f15 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/33263 Reviewed-by: HAOUAS Elyes Reviewed-by: Matt DeVillier Reviewed-by: Kyösti Mälkki Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Kconfig b/src/Kconfig index d30aa99f06..49f8e6ed92 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -277,10 +277,13 @@ config BOOTSPLASH_FILE The path and filename of the file to use as graphical bootsplash screen. The file format has to be jpg. +config HAVE_RAMPAYLOAD + bool + config RAMPAYLOAD bool "Enable coreboot flow without executing ramstage" default n - depends on ARCH_X86 + depends on HAVE_RAMPAYLOAD help If this option is enabled, coreboot flow will skip ramstage loading and execution of ramstage to load payload. -- cgit v1.2.3