arm-trusted-firmware/plat/common
Antonio Nino Diaz f13cb561f0 LOAD_IMAGE_V1: Align BL2 memory layout struct to 8 bytes
In LOAD_IMAGE_V1 (i.e when LOAD_IMAGE_V2=0) the bl2_tzram_layout is,
by default, assigned to the bl1_tzram_layout->free_base which is
dynamically calculated based on the images loaded in memory. There is a
chance that the bl2_tzram_layout will be assigned a value not aligned to
8 bytes. This patch rounds up the free_base value for the required
alignment.

This doesn't happen in LOAD_IMAGE_V2 because the bl2_tzram_layout is
assigned by default to the bl1_tzram_layout->total_base, which is
aligned.

Change-Id: Idc583e7dad993d02ac6791797406118c96f83fa1
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
2018-06-12 14:08:48 +01:00
..
aarch32 Remove sp_min functions from plat_common.c 2018-03-02 16:41:18 +00:00
aarch64 Fix build error with correct format string 2018-05-15 17:05:36 +01:00
tbbr cert: move platform_oid.h to include/tools_share for all platforms 2017-05-24 00:08:35 +09:00
plat_bl1_common.c LOAD_IMAGE_V1: Align BL2 memory layout struct to 8 bytes 2018-06-12 14:08:48 +01:00
plat_bl_common.c Fix MISRA rule 8.4 in common code 2018-02-28 17:18:46 +00:00
plat_gic.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
plat_gicv2.c plat: fix switch statements to comply with MISRA rules 2018-03-26 12:43:05 +01:00
plat_gicv3.c plat: fix switch statements to comply with MISRA rules 2018-03-26 12:43:05 +01:00
plat_log_common.c Implement log framework 2017-09-11 15:37:24 +01:00
plat_psci_common.c Fix PSCI STAT time stamp collection 2017-11-03 13:27:34 +00:00