summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-aarch64/memlayout.ld
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2020-01-23 13:32:08 +0100
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2020-03-02 10:33:38 +0000
commit977b8e83cb0a71af1143d3ab56fd0f95bf8d6c70 (patch)
treef4c022e42c39fc009690c5c2a76283648714dd11 /src/mainboard/emulation/qemu-aarch64/memlayout.ld
parente1498ce6da91c3e6bc61c67213f10ab927704510 (diff)
downloadcoreboot-977b8e83cb0a71af1143d3ab56fd0f95bf8d6c70.tar.xz
mb/emulation/qemu-aarch64: Add MMU support
Enable MMU in bootblock. Makes qemu look more similar to real hardware. There's no real need to activate the MMU. Tested on qemu-system-aarch64: 5 page entries are used out of 32. Change-Id: Ifaed9d3cc11520f180a732d51adce634621b5844 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38534 Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/emulation/qemu-aarch64/memlayout.ld')
-rw-r--r--src/mainboard/emulation/qemu-aarch64/memlayout.ld6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/emulation/qemu-aarch64/memlayout.ld b/src/mainboard/emulation/qemu-aarch64/memlayout.ld
index aba4205750..248d0abef0 100644
--- a/src/mainboard/emulation/qemu-aarch64/memlayout.ld
+++ b/src/mainboard/emulation/qemu-aarch64/memlayout.ld
@@ -27,8 +27,8 @@ SECTIONS
STACK(0x60020000, 62K)
FMAP_CACHE(0x6002F800, 2K)
ROMSTAGE(0x60030000, 128K)
- RAMSTAGE(0x60070000, 16M)
+ TTB(0x60070000, 128K)
+ RAMSTAGE(0x600b0000, 16M)
- TTB(0x61100000, 16K)
- POSTRAM_CBFS_CACHE(0x61110000, 1M)
+ POSTRAM_CBFS_CACHE(0x61200000, 1M)
}