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>
diff --git a/src/Kconfig b/src/Kconfig
index 26e1194..5aa76fb 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -218,7 +218,7 @@
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 @@
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