Enable secure memory support for FVPs
authorHarry Liebel <Harry.Liebel@arm.com>
Tue, 1 Apr 2014 18:27:38 +0000 (19:27 +0100)
committerHarry Liebel <Harry.Liebel@arm.com>
Thu, 24 Apr 2014 13:08:01 +0000 (14:08 +0100)
commitf2199d95d931826be7f87af0935ac536812d0488
tree273cea29e9d7fea8bb38cc36a86385cc66b02098
parentcd116d177b76dbb333ed2aa0cb47a0c17678f0c2
Enable secure memory support for FVPs

- Use the TrustZone controller on Base FVP to program DRAM access
  permissions. By default no access to DRAM is allowed if
  'secure memory' is enabled on the Base FVP.
- The Foundation FVP does not have a TrustZone controller but instead
  has fixed access permissions.
- Update FDTs for Linux to use timers at the correct security level.
- Starting the FVPs with 'secure memory' disabled is also supported.

Limitations:
Virtio currently uses a reserved NSAID. This will be corrected in
future FVP releases.

Change-Id: I0b6c003a7b5982267815f62bcf6eb82aa4c50a31
17 files changed:
fdts/fvp-base-gicv2-psci.dtb
fdts/fvp-base-gicv2-psci.dts
fdts/fvp-base-gicv2legacy-psci.dtb
fdts/fvp-base-gicv2legacy-psci.dts
fdts/fvp-base-gicv3-psci.dtb
fdts/fvp-base-gicv3-psci.dts
fdts/fvp-foundation-gicv2-psci.dtb
fdts/fvp-foundation-gicv2-psci.dts
fdts/fvp-foundation-gicv2legacy-psci.dtb
fdts/fvp-foundation-gicv2legacy-psci.dts
fdts/fvp-foundation-gicv3-psci.dtb
fdts/fvp-foundation-gicv3-psci.dts
plat/fvp/aarch64/plat_common.c
plat/fvp/bl2_plat_setup.c
plat/fvp/plat_security.c [new file with mode: 0644]
plat/fvp/platform.h
plat/fvp/platform.mk