summaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2018-06-03 14:55:10 +0300
committerPatrick Georgi <pgeorgi@google.com>2018-06-06 10:36:37 +0000
commit7904e720d5bd1a2fdbf5a4077759b1741895bcf4 (patch)
tree750d286c61a26124fd353ba2894dfd6d189ebbab /src/Kconfig
parentd30c129ad44aacf4cccf98a7cac353b7f9fdedca (diff)
downloadcoreboot-7904e720d5bd1a2fdbf5a4077759b1741895bcf4.tar.xz
arch/x86: Flag platforms without RELOCATABLE_RAMSTAGE
To flip the Kconfig default, flag some platforms with NO_RELOCATABLE_RAMSTAGE. Change-Id: I72c6d07e5a60789bbe0e068a0130d7e3bd07a1d5 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/26814 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 4c1a0da708..ac8668dbd8 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -227,6 +227,11 @@ config UBSAN
say N because it adds a small performance penalty and may abort
on code that happens to work in spite of the UB.
+config NO_RELOCATABLE_RAMSTAGE
+ bool
+ default n if ARCH_X86
+ default y
+
config RELOCATABLE_RAMSTAGE
depends on EARLY_CBMEM_INIT
bool "Build the ramstage to be relocatable in 32-bit address space."