aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhukar Pappireddy <madhukar.pappireddy@arm.com>2021-08-20 18:07:24 +0200
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2021-08-20 18:07:24 +0200
commitf8bcfa8b76fb03ad8c6a1242ac8ce7fb05a47f4a (patch)
tree5847efc5fe8034d9214e4ac848c00012c284b8ea
parent15405fccae1f2a9f2a1cf9a466653144c9373209 (diff)
parent325716c97b7835b8d249f12c1461556bab8c53a0 (diff)
downloadarm-trusted-firmware-f8bcfa8b76fb03ad8c6a1242ac8ce7fb05a47f4a.tar.gz
Merge "fix(plat/qemu): (NS_DRAM0_BASE + NS_DRAM0_SIZE) ADDR overflow 32bit" into integration
-rw-r--r--plat/qemu/qemu/include/platform_def.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/qemu/qemu/include/platform_def.h b/plat/qemu/qemu/include/platform_def.h
index 0891d809d..c02eff9a8 100644
--- a/plat/qemu/qemu/include/platform_def.h
+++ b/plat/qemu/qemu/include/platform_def.h
@@ -80,8 +80,8 @@
#define SEC_ROM_BASE 0x00000000
#define SEC_ROM_SIZE 0x00020000
-#define NS_DRAM0_BASE 0x40000000
-#define NS_DRAM0_SIZE 0xc0000000
+#define NS_DRAM0_BASE ULL(0x40000000)
+#define NS_DRAM0_SIZE ULL(0xc0000000)
#define SEC_SRAM_BASE 0x0e000000
#define SEC_SRAM_SIZE 0x00060000