ARM platforms: rationalise memory attributes of shared memory
Juan Castillo authored
The shared memory region on ARM platforms contains the mailboxes and,
on Juno, the payload area for communication with the SCP. This shared
memory may be configured as normal memory or device memory at build
time by setting the platform flag 'PLAT_ARM_SHARED_RAM_CACHED' (on
Juno, the value of this flag is defined by 'MHU_PAYLOAD_CACHED').
When set as normal memory, the platform port performs the corresponding
cache maintenance operations. From a functional point of view, this is
the equivalent of setting the shared memory as device memory, so there
is no need to maintain both options.

This patch removes the option to specify the shared memory as normal
memory on ARM platforms. Shared memory is always treated as device
memory. Cache maintenance operations are no longer needed and have
been replaced by data memory barriers to guarantee that payload and
MHU are accessed in the right order.

Change-Id: I7f958621d6a536dd4f0fa8768385eedc4295e79f
74eb26e4
Name Last commit Last update
bl1 Merge pull request #470 from danh-arm/dh/fwu-done-fix
bl2 Remove dashes from image names: 'BL3-x' --> 'BL3x'
bl2u FWU: Add Generic BL2U FWU image support in BL2
bl31 Miscellaneous doc fixes for v1.2
bl32/tsp Remove dashes from image names: 'BL3-x' --> 'BL3x'
common Miscellaneous doc fixes for v1.2
docs Merge pull request #485 from jcastillo-arm/jc/max_mmap_reg
drivers Merge pull request #478 from sandrine-bailleux/sb/mbed-tls-pedantic
fdts FVP: update device tree idle state entries
include ARM platforms: rationalise memory attributes of shared memory
lib Add support for ARM Cortex-A35 processor
make_helpers Apply TBBR naming convention to the fip_create options
plat ARM platforms: rationalise memory attributes of shared memory
services Miscellaneous doc fixes for v1.2
tools Merge pull request #484 from jcastillo-arm/jc/tf-issues/337
.gitignore TBB: rework cert_create tool to follow a data driven approach
Makefile Apply TBBR naming convention to the fip_create options
acknowledgements.md TLK-D documentation and add NVIDIA to the Acknowledgements file
contributing.md Update `contributing.md` CLA instructions
license.md Update year in copyright text to 2014
readme.md Update `readme.md` for v1.2 release