diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2016-06-15 02:25:00 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2016-06-17 00:17:53 +0200 |
commit | bec853e9ad6a0734764b9179e0558bbf149b7b28 (patch) | |
tree | fe62358c28776a0c78a43355444ccbdf7c856685 | |
parent | e51c20bf2c7097e6859c3bed43925a36194267ce (diff) |
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@gmail.com>
Reviewed-on: https://review.coreboot.org/15189
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r-- | src/Kconfig | 5 | ||||
-rw-r--r-- | src/arch/x86/Kconfig | 5 | ||||
-rw-r--r-- | src/mainboard/emulation/qemu-power8/Kconfig | 6 | ||||
-rw-r--r-- | src/mainboard/emulation/qemu-riscv/Kconfig | 4 | ||||
-rw-r--r-- | src/mainboard/emulation/spike-riscv/Kconfig | 4 |
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 |