arm-trusted-firmware/plat/arm/board/common
Antonio Nino Diaz 0289970d6c ARM platforms: Define common image sizes
Compile option `ARM_BOARD_OPTIMISE_MMAP` has been renamed to
`ARM_BOARD_OPTIMISE_MEM` because it now applies not only to defines
related to the translation tables but to the image size as well.

The defines `PLAT_ARM_MAX_BL1_RW_SIZE`, `PLAT_ARM_MAX_BL2_SIZE` and
`PLAT_ARM_MAX_BL31_SIZE` have been moved to the file board_arm_def.h.
This way, ARM platforms no longer have to set their own values if
`ARM_BOARD_OPTIMISE_MEM=0` and they can specify optimized values
otherwise. The common sizes have been set to the highest values used
for any of the current build configurations.

This is needed because in some build configurations some images are
running out of space. This way there is a common set of values known
to work for all of them and it can be optimized for each particular
platform if needed.

The space reserved for BL2 when `TRUSTED_BOARD_BOOT=0` has been
increased. This is needed because when memory optimisations are
disabled the values for Juno of `PLAT_ARM_MMAP_ENTRIES` and
`MAX_XLAT_TABLES` are higher. If in this situation the code is
compiled in debug mode and with "-O0", the code won't fit.

Change-Id: I70a3d8d3a0b0cad1d6b602c01a7ea334776e718e
2016-07-25 12:04:31 +01:00
..
aarch64 Add common ARM and CSS platform code 2015-04-28 19:50:56 +01:00
drivers/norflash Add basic NOR flash driver for ARM platforms 2015-11-27 09:34:20 +00:00
rotpk TBB: add platform API to read the ROTPK information 2015-06-25 08:53:26 +01:00
board_arm_trusted_boot.c Implement plat_set_nv_ctr for FVP platforms 2016-06-03 11:17:03 +01:00
board_common.mk ARM platforms: Define common image sizes 2016-07-25 12:04:31 +01:00
board_css.mk TBB: add platform API to read the ROTPK information 2015-06-25 08:53:26 +01:00
board_css_common.c Introduce arm_setup_page_tables() function 2016-07-08 14:37:11 +01:00