summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-06-08 11:28:52 +0200
committerNico Huber <nico.h@gmx.de>2019-06-15 17:24:44 +0000
commit6f75154656d93eebee52b046d862b3f852ce2a67 (patch)
treefdccee8ffae4b73db9c4fb5c03d44bd45dfd800c
parent8c03542f921459008242f290304f83b51c3c1f2d (diff)
downloadcoreboot-6f75154656d93eebee52b046d862b3f852ce2a67.tar.xz
arch/x86/Kconfig: Hide the prefix option on all but BOOTBLOCK_NORMAL
Change-Id: Icf5e8fa18bea1cdfb85b8a4999d8fccea94d16b9 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33324 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--src/Kconfig7
-rw-r--r--src/arch/x86/Kconfig1
2 files changed, 7 insertions, 1 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 5d74d671b2..72d826f43f 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -32,8 +32,13 @@ config LOCALVERSION
the coreboot version number, so that you can easily distinguish
boot logs of different boards from each other.
+config CONFIGURABLE_CBFS_PREFIX
+ bool
+ help
+ Select this to prompt to use to configure the prefix for cbfs files.
+
config CBFS_PREFIX
- string "CBFS prefix to use"
+ string "CBFS prefix to use" if CONFIGURABLE_CBFS_PREFIX
default "fallback"
help
Select the prefix to all files put into the image. It's "fallback"
diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig
index 827c1cba02..5b1304fedb 100644
--- a/src/arch/x86/Kconfig
+++ b/src/arch/x86/Kconfig
@@ -247,6 +247,7 @@ config BOOTBLOCK_SIMPLE
bool "Always load fallback"
config BOOTBLOCK_NORMAL
+ select CONFIGURABLE_CBFS_PREFIX
bool "Switch to normal if CMOS says so"
endchoice