diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-12-19 08:20:45 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2015-01-27 22:50:14 +0100 |
commit | 2fb6b40ed0d4c4d169d4b909ad784e1841b50242 (patch) | |
tree | 6d34fc2c9fd525ba86100881515087cc6dee0d6e /src/Kconfig | |
parent | 02aebb67b394a9cf81eade4a3952fce3a19c974c (diff) | |
download | coreboot-2fb6b40ed0d4c4d169d4b909ad784e1841b50242.tar.xz |
CBMEM: Support DYNAMIC_CBMEM with LATE_CBMEM_INIT
We can now create CBMEM with dynamic allocation even if CBMEM
location is resolved late in ramstage.
Change-Id: I8529ccbcd4a0e567ebe0a46232ac5d16476e81a8
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/7861
Reviewed-by: Aaron Durbin <adurbin@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/Kconfig')
-rw-r--r-- | src/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Kconfig b/src/Kconfig index a58e04a4da..560f9e5945 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -162,7 +162,6 @@ config EARLY_CBMEM_INIT config DYNAMIC_CBMEM bool default n - select EARLY_CBMEM_INIT help Instead of reserving a static amount of CBMEM space the CBMEM area grows dynamically. CBMEM can be used both in romstage (after @@ -201,7 +200,7 @@ config RELOCATABLE_MODULES loaded anywhere and all the relocations are handled automatically. config RELOCATABLE_RAMSTAGE - depends on (RELOCATABLE_MODULES && DYNAMIC_CBMEM) + depends on (RELOCATABLE_MODULES && DYNAMIC_CBMEM && EARLY_CBMEM_INIT) bool "Build the ramstage to be relocatable in 32-bit address space." default n help |