arm-trusted-firmware/plat/fvp
Ryan Harkin 48e2ca7967 fvp: plat_io_storage: remove duplicated code
Fixes ARM-software/tf-issues#41

The policy functions for each file to be loaded were implemented by
copy/pasting one method and then varying the data checked.

This patch creates a generic function to check the policy based on the
data stored in a table.

This removes the amount of duplicated code but also makes the code
simpler and more efficient.

Change-Id: I1c52eacf6f18a1442dabbb33edd03d4bb8bbeae0
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2014-03-05 16:21:14 +00:00
..
aarch64 fvp: Make use of the generic MMU translation table setup code 2014-03-05 16:21:14 +00:00
bl1_plat_setup.c fvp: Initialise UART earlier 2014-02-26 19:53:48 +00:00
bl2_plat_setup.c Add support for BL3-2 in BL2 2014-02-20 19:06:34 +00:00
bl31_plat_setup.c Add support for BL3-2 in BL3-1 2014-02-20 19:06:34 +00:00
bl32_plat_setup.c Add Test Secure Payload (BL3-2) image 2014-02-20 19:06:34 +00:00
plat_gic.c Fix implementation and users of gicd_set_ipriorityr() 2014-03-05 16:21:14 +00:00
plat_io_storage.c fvp: plat_io_storage: remove duplicated code 2014-03-05 16:21:14 +00:00
plat_pm.c fvp: clear a pending cluster power off request 2014-01-23 12:13:34 +00:00
plat_topology.c fvp: rename fvp_* files to plat_* 2014-01-20 18:45:04 +00:00
platform.h fvp: Make use of the generic MMU translation table setup code 2014-03-05 16:21:14 +00:00
platform.mk fvp: Make use of the generic MMU translation table setup code 2014-03-05 16:21:14 +00:00