summaryrefslogtreecommitdiff
path: root/plat/imx/imx7
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2018-10-31 14:28:17 +0100
committerSandrine Bailleux <sandrine.bailleux@arm.com>2018-11-07 11:34:28 +0100
commit3d449de09a13b31edf555a5712060e5f80bb7e0c (patch)
treeb3399e532dd35c7a2afea989c5d539771a73e0ff /plat/imx/imx7
parent9c10e3485b10ece95f9af8a6af79558397ee1d78 (diff)
Arm platforms: Fix DRAM address macros
On AArch32, ARM_DRAM1_BASE and ARM_DRAM1_SIZE constants are currently 32-bit values (because they are suffixed with UL and the value 0x80000000 fits in a unsigned long int, i.e. a 32-bit value). When summing them up, the result overflows the maximum value that can be encoded in a 32-bit value so it wraps around and does not result in the expected value. This patch changes the suffix of these constants into ULL so that they always are 64-bit values. Change-Id: I3b19b1805e35cc7e43050458df379081b1e882d5 Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
Diffstat (limited to 'plat/imx/imx7')
0 files changed, 0 insertions, 0 deletions