diff options
author | AlexeiFedorov <Alexei.Fedorov@arm.com> | 2022-12-29 15:57:40 +0000 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2023-01-31 14:19:48 +0200 |
commit | 826859049859a5bd88e142695e10a559d85721c1 (patch) | |
tree | 0a154a409d129df9708c231417f8fc1b36824ffd /include/plat | |
parent | a97bfa5ff18b2682e3b9c528cbd5fb16ceec3393 (diff) | |
download | arm-trusted-firmware-826859049859a5bd88e142695e10a559d85721c1.tar.gz |
feat(rme): read DRAM information from FVP DTB
This patch builds on the previous patch by implementing
support for reading NS DRAM layout of FVP model from
HW_CONFIG Device tree.
Macro _RMMD_MANIFEST_VERSION is renamed to
SET_RMMD_MANIFEST_VERSION to suppress MISRA-C
"rule MC3R1.D4.5: (advisory) Identifiers in
the same name space with overlapping visibility
should be typographically unambiguous" warning
Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>
Change-Id: Ifc2461b4441a1efdd4b7c656ab4d15e62479f77b
Diffstat (limited to 'include/plat')
-rw-r--r-- | include/plat/arm/common/arm_def.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/plat/arm/common/arm_def.h b/include/plat/arm/common/arm_def.h index 1e22c1073..7cd32b1f6 100644 --- a/include/plat/arm/common/arm_def.h +++ b/include/plat/arm/common/arm_def.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2022, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2015-2023, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -236,7 +236,7 @@ #define ARM_DRAM2_END (ARM_DRAM2_BASE + \ ARM_DRAM2_SIZE - 1U) /* Number of DRAM banks */ -#define ARM_DRAM_BANKS_NUM 2UL +#define ARM_DRAM_NUM_BANKS 2UL #define ARM_IRQ_SEC_PHY_TIMER 29 |