From: Tuomas Tynkkynen Date: Mon, 14 May 2018 15:47:51 +0000 (+0300) Subject: ARM: qemu-arm: Bump RAM size in AArch64 MMU table X-Git-Tag: v2018.07-rc1~59 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f37770c7707b9c11e1832005392a3b049b9fdf14;p=u-boot ARM: qemu-arm: Bump RAM size in AArch64 MMU table Now that PCI devices work with highmem-enabled QEMU emulation, bump up the RAM size in the MMU tables to gain access to the full 255 GB of RAM potential instead of the puny 3 GB. Signed-off-by: Tuomas Tynkkynen Reviewed-by: Simon Glass --- diff --git a/board/emulation/qemu-arm/qemu-arm.c b/board/emulation/qemu-arm/qemu-arm.c index 6ec4200170..085cbbef99 100644 --- a/board/emulation/qemu-arm/qemu-arm.c +++ b/board/emulation/qemu-arm/qemu-arm.c @@ -28,7 +28,7 @@ static struct mm_region qemu_arm64_mem_map[] = { /* RAM */ .virt = 0x40000000UL, .phys = 0x40000000UL, - .size = 0xc0000000UL, + .size = 255UL * SZ_1G, .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) | PTE_BLOCK_INNER_SHARE }, {