summaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2013-02-27 22:50:12 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-03-22 00:13:42 +0100
commitdd4a6d2357decf0cf505370234b378985c68f97f (patch)
tree6c656e9d13fbc39a9a88766d9b3f533a98a9f89b /src/Kconfig
parent24d1d4b47274eb82893e6726472a991a36fce0aa (diff)
downloadcoreboot-dd4a6d2357decf0cf505370234b378985c68f97f.tar.xz
coreboot: dynamic cbmem requirement
Dynamic cbmem is now a requirement for relocatable ramstage. This patch replaces the reserve_* fields in the romstage_handoff structure by using the dynamic cbmem library. The haswell code is not moved over in this commit, but it should be safe because there is a hard requirement for DYNAMIC_CBMEM when using a reloctable ramstage. Change-Id: I59ab4552c3ae8c2c3982df458cd81a4a9b712cc2 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/2849 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 0297970173..18b5bad823 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -315,14 +315,7 @@ config HAVE_INIT_TIMER
config HIGH_SCRATCH_MEMORY_SIZE
hex
- default 0x5000 if RELOCATABLE_RAMSTAGE
default 0x0
- help
- The amount of extra memory to reserve from the OS. If
- RELOCATABLE_RAMSTAGE is enabled a size of 20KiB is reserved. This is
- for the use of a stack in romstage after memory has been initialized.
- The stack size required in romstage can be large when needing to
- decompress the ramstage.
config USE_OPTION_TABLE
bool
@@ -390,7 +383,7 @@ config RELOCATABLE_MODULES
loaded anywhere and all the relocations are handled automatically.
config RELOCATABLE_RAMSTAGE
- depends on RELOCATABLE_MODULES
+ depends on (RELOCATABLE_MODULES && DYNAMIC_CBMEM)
bool "Build the ramstage to be relocatable in 32-bit address space."
default n
help