[coreboot-gerrit] New patch to review for coreboot: Define RAMTOP for x86 only
Kyösti Mälkki (kyosti.malkki@gmail.com)
gerrit at coreboot.org
Wed Jun 15 01:40:06 CEST 2016
Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15189
-gerrit
commit 9a6b13ad2a7690587fac7eae80a94a8401303dcd
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date: Wed Jun 15 02:25:00 2016 +0300
Define RAMTOP for x86 only
This Kconfig is deprecated, new platforms need to locate
ramstage stack in CBMEM instead.
Change-Id: I20ece297302321337cc2ce17fdef0c55242a4fc3
Signed-off-by: Kyösti Mälkki <kyosti.malkki at gmail.com>
---
src/Kconfig | 5 -----
src/arch/x86/Kconfig | 5 +++++
src/mainboard/emulation/qemu-power8/Kconfig | 6 ------
src/mainboard/emulation/qemu-riscv/Kconfig | 4 ----
src/mainboard/emulation/spike-riscv/Kconfig | 4 ----
5 files changed, 5 insertions(+), 19 deletions(-)
diff --git a/src/Kconfig b/src/Kconfig
index 4eda537..1cb55c9 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -469,11 +469,6 @@ config TPM
If unsure, say N.
-config RAMTOP
- hex
- default 0x200000
- depends on ARCH_X86
-
config HEAP_SIZE
hex
default 0x4000
diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig
index b6073c3..af73a58 100644
--- a/src/arch/x86/Kconfig
+++ b/src/arch/x86/Kconfig
@@ -83,6 +83,11 @@ config RAMBASE
hex
default 0x100000
+config RAMTOP
+ hex
+ default 0x200000
+ depends on ARCH_X86
+
# Traditionally BIOS region on SPI flash boot media was memory mapped right below
# 4G and it was the last region in the IFD. This way translation between CPU
# address space to flash address was trivial. However some IFDs on newer SoCs
diff --git a/src/mainboard/emulation/qemu-power8/Kconfig b/src/mainboard/emulation/qemu-power8/Kconfig
index 556322a..7946c3e 100644
--- a/src/mainboard/emulation/qemu-power8/Kconfig
+++ b/src/mainboard/emulation/qemu-power8/Kconfig
@@ -44,10 +44,4 @@ config DRAM_SIZE_MB
int
default 32768
-# Memory map for qemu power8
-
-config RAMTOP
- hex
- default 0x1000000
-
endif # BOARD_EMULATION_QEMU_POWER8
diff --git a/src/mainboard/emulation/qemu-riscv/Kconfig b/src/mainboard/emulation/qemu-riscv/Kconfig
index ab1e282..37d787a 100644
--- a/src/mainboard/emulation/qemu-riscv/Kconfig
+++ b/src/mainboard/emulation/qemu-riscv/Kconfig
@@ -54,8 +54,4 @@ config DRAM_SIZE_MB
# 0x0011_0000: CBFS data
# 0x0100_0000: reserved for ramstage
-config RAMTOP
- hex
- default 0x1000000
-
endif # BOARD_EMULATION_QEMU_UCB_RISCV
diff --git a/src/mainboard/emulation/spike-riscv/Kconfig b/src/mainboard/emulation/spike-riscv/Kconfig
index b7290e3..a762220 100644
--- a/src/mainboard/emulation/spike-riscv/Kconfig
+++ b/src/mainboard/emulation/spike-riscv/Kconfig
@@ -54,8 +54,4 @@ config DRAM_SIZE_MB
# 0x0011_0000: CBFS data
# 0x0100_0000: reserved for ramstage
-config RAMTOP
- hex
- default 0x1000000
-
endif # BOARD_EMULATION_SPIKE_UCB_RISCV
More information about the coreboot-gerrit
mailing list