summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2019-06-06 19:36:02 +0200
committerNico Huber <nico.h@gmx.de>2019-06-08 21:36:55 +0000
commit94cdec686e41fa2d632241c011cef87093cd4c17 (patch)
tree0e5905d2d38fad7d9ef947f08d3d2c7e473196bc /src
parent35abe73e48ad27144ef8700a2199f7b2cdc6de61 (diff)
Kconfig: Guard RAMPAYLOAD
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 <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33263 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/Kconfig5
1 files changed, 4 insertions, 1 deletions
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.