fvp: Disable SYSTEM_SUSPEND when ARM_BL31_IN_DRAM
After returning from SYSTEM_SUSPEND state, BL31 reconfigures the
TrustZone Controller during the boot sequence. If BL31 is placed in
TZC-secured DRAM, it will try to change the permissions of the memory it
is being executed from, causing an exception.

The solution is to disable SYSTEM_SUSPEND when the Trusted Firmware has
been compiled with ``ARM_BL31_IN_DRAM=1``.

Change-Id: I96dc50decaacd469327c6b591d07964726e58db4
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
1 parent 2633dfe commit 7d44ac1efff956dc19a074fa02703c30bd8d3ca8
@Antonio Nino Diaz Antonio Nino Diaz authored on 22 Nov 2017
Showing 1 changed file
View
plat/arm/board/fvp/fvp_pm.c