Always enable CCI coherency in BL3-1
On ARM standard platforms, snoop and DVM requests used to be enabled
for the primary CPU's cluster only in the first EL3 bootloader.
In other words, if the platform reset into BL1 then CCI coherency
would be enabled by BL1 only, and not by BL3-1 again.

However, this doesn't cater for platforms that use BL3-1 along with
a non-TF ROM bootloader that doesn't enable snoop and DVM requests.
In this case, CCI coherency is never enabled.

This patch modifies the function bl31_early_platform_setup() on
ARM standard platforms so that it always enables snoop and DVM
requests regardless of whether earlier bootloader stages have
already done it. There is no harm in executing this code twice.

ARM Trusted Firmware Design document updated accordingly.

Change-Id: Idf1bdeb24d2e1947adfbb76a509f10beef224e1c
1 parent c163ec4 commit a66952750526c34c9ab420ea4cf7c2c8f4e6ef5b
@Sandrine Bailleux Sandrine Bailleux authored on 14 May 2015
Showing 3 changed files
View
docs/firmware-design.md
View
plat/arm/board/fvp/fvp_bl31_setup.c
View
plat/arm/common/arm_bl31_setup.c