Skip to content
Commit 7c5001a6 authored by Alexei Fedorov's avatar Alexei Fedorov Committed by Soby Mathew
Browse files

feat(rmm): get DRAM information from Boot Manifest platform data



This patch adds support for getting configuration of DRAM banks
for FVP model in RMM-EL3 Boot Manifest structure.
Structure 'rmm_manifest' is extended with 'plat_dram' structure
which contains information about platform's DRAM layout:
- number of DRAM banks;
- pointer to 'dram_bank[]' array;
- checksum: two's complement 64-bit value of the sum of
  data in 'plat_dram' and 'dram_bank[] array.
Each 'dram_bank' structure holds information about DRAM
bank base address and its size. This values must be aligned
to 4KB page size.
The patch increases Boot Manifest minor version to 2 and
fixes names of SMC_RMM_BOOT_COMPLETE return codes
in lib\rmm_el3_ifc\include\rmm_el3_ifc.h to match
4.20.2.3. Boot error handling and return values
in "RMM-EL3 Communication interface" document.
This patch also implements minor syntax and MISRA-C
compliant changes.

Signed-off-by: default avatarAlexeiFedorov <Alexei.Fedorov@arm.com>
Change-Id: Ibc0aad81c099676152ec177eb45ca8c1e4d7e822
parent 708eb9d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment