summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Kconfig5
-rw-r--r--src/arch/x86/Kconfig5
-rw-r--r--src/mainboard/emulation/qemu-power8/Kconfig6
-rw-r--r--src/mainboard/emulation/qemu-riscv/Kconfig4
-rw-r--r--src/mainboard/emulation/spike-riscv/Kconfig4
5 files changed, 5 insertions, 19 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 4eda5378f9..1cb55c9a7b 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 b6073c36ff..af73a58123 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 556322aae9..7946c3e6d9 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 ab1e2820ba..37d787a4c8 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 b7290e3e3d..a762220ba2 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