]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(rme): set DRAM information in Boot Manifest platform data
authorAlexeiFedorov <Alexei.Fedorov@arm.com>
Wed, 14 Dec 2022 17:28:11 +0000 (17:28 +0000)
committerAlexeiFedorov <Alexei.Fedorov@arm.com>
Tue, 17 Jan 2023 16:35:41 +0000 (16:35 +0000)
commita97bfa5ff18b2682e3b9c528cbd5fb16ceec3393
tree8842c02c815f33da83af7b51bf9e9eff1e065a06
parent018552394851415685aa408dcbd91b30bb9bffac
feat(rme): set DRAM information in Boot Manifest platform data

This patch adds support for setting 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;
- check sum: 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
removes 'typedef rmm_manifest_t' as per
"3.4.15.1. Avoid anonymous typedefs of structs/enums in headers" of
https://trustedfirmware-a.readthedocs.io/en/latest/process/coding-style.html

Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>
Change-Id: I5176caa5780e27d1e0daeb5dea3e40cf6ad5fd12
include/plat/arm/common/arm_def.h
include/plat/common/platform.h
include/services/rmm_core_manifest.h
include/services/trp/platform_trp.h
plat/arm/board/fvp/fvp_common.c
plat/arm/common/arm_bl2_setup.c
plat/arm/common/arm_bl31_setup.c
plat/arm/common/trp/arm_trp_setup.c
services/std_svc/rmmd/rmmd_main.c
services/std_svc/rmmd/trp/trp_main.c