From bec853e9ad6a0734764b9179e0558bbf149b7b28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Wed, 15 Jun 2016 02:25:00 +0300 Subject: Define RAMTOP for x86 only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This Kconfig is deprecated, new platforms need to locate ramstage stack in CBMEM instead. Change-Id: I20ece297302321337cc2ce17fdef0c55242a4fc3 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/15189 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Ronald G. Minnich Reviewed-by: Stefan Reinauer --- 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(-) (limited to 'src') 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 -- cgit v1.2.3