summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2015-05-30 22:21:37 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2015-06-02 21:01:02 +0200
commit633352c74ac73567f07eb406e6a95d08b4771555 (patch)
treecfeeab6834ab62b8299f9cb22746e6ff870f97c5
parentac12c66cf91343153ea90a6f33977a13e10b21d0 (diff)
Kconfig: Remove RELOCATABLE_MODULES.
RELOCATABLE_MODULES controls inclusion of rmodule support but including it without having anything that uses it is a pure waste of space. So instead make RELOCATABLE_MODULES be selected exactly when there is something using it. Change-Id: I377a955f0cd95b0f811b986df287864c3dc9f89a Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/10377 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--src/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 26e1194105..5aa76fbc78 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -218,7 +218,7 @@ config COVERAGE
If unsure, say N.
config RELOCATABLE_MODULES
- bool "Relocatable Modules"
+ bool
default n
help
If RELOCATABLE_MODULES is selected then support is enabled for
@@ -226,9 +226,10 @@ config RELOCATABLE_MODULES
loaded anywhere and all the relocations are handled automatically.
config RELOCATABLE_RAMSTAGE
- depends on (RELOCATABLE_MODULES && EARLY_CBMEM_INIT)
+ depends on EARLY_CBMEM_INIT
bool "Build the ramstage to be relocatable in 32-bit address space."
default n
+ select RELOCATABLE_MODULES
help
The reloctable ramstage support allows for the ramstage to be built
as a relocatable module. The stage loader can identify a place