summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@coreboot.org>2023-10-07 11:16:43 +0200
committerPatrick Georgi <patrick@coreboot.org>2023-10-11 12:08:22 +0000
commit42f15054b178efe9a4d1c8a4e0c203d1aa4aad01 (patch)
treee1702953813d9c5c0930be4aca3d95b2aeecde00 /src/mainboard
parentc666a916112aece345da57a0b4f3bafc43234ee7 (diff)
memlayout.ld: Increase RAMSTAGE size to more than 1MB everywhere
This is in preparation of a larger heap. I went for 2MB because why not? Change-Id: I51f999a10ba894a7f2f5fce224d30bf914107c38 Signed-off-by: Patrick Georgi <patrick@coreboot.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78273 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Yidi Lin <yidilin@google.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/emulation/qemu-power9/memlayout.ld2
-rw-r--r--src/mainboard/emulation/spike-riscv/memlayout.ld2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/emulation/qemu-power9/memlayout.ld b/src/mainboard/emulation/qemu-power9/memlayout.ld
index 8209433020..d9c2a7167a 100644
--- a/src/mainboard/emulation/qemu-power9/memlayout.ld
+++ b/src/mainboard/emulation/qemu-power9/memlayout.ld
@@ -30,5 +30,5 @@ SECTIONS
#if ENV_RAMSTAGE
STACK(0xa000000, 32K)
#endif
- RAMSTAGE(0xa008000, 1M)
+ RAMSTAGE(0xa008000, 2M)
}
diff --git a/src/mainboard/emulation/spike-riscv/memlayout.ld b/src/mainboard/emulation/spike-riscv/memlayout.ld
index 7ec489292c..b74c0bb330 100644
--- a/src/mainboard/emulation/spike-riscv/memlayout.ld
+++ b/src/mainboard/emulation/spike-riscv/memlayout.ld
@@ -16,5 +16,5 @@ SECTIONS
/* hole at (START + 8M + 14K, 50K) */
ROMSTAGE(START + 8M + 64K, 128K)
PRERAM_CBMEM_CONSOLE(START + 8M + 192k, 8K)
- RAMSTAGE(START + 8M + 200K, 256K)
+ RAMSTAGE(START + 8M + 200K, 2M)
}