[coreboot-gerrit] New patch to review for coreboot: 0b1e47a Kconfig: Remove RELOCATABLE_MODULES.

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Sat May 30 22:59:20 CEST 2015


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10377

-gerrit

commit 0b1e47a468bd6de9dc6b822bee7ca01eed330a40
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Sat May 30 22:21:37 2015 +0200

    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 at gmail.com>
---
 src/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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



More information about the coreboot-gerrit mailing list