aboutsummaryrefslogtreecommitdiff
path: root/common/bl_common.c
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2014-02-18 17:40:24 +0000
committerDan Handley <dan.handley@arm.com>2014-03-05 16:21:14 +0000
commit48e2ca7967b8569cd8028b2ed7d1897a396c7b4a (patch)
tree3962047603cd731b57748ba67c51a9bb05277ca4 /common/bl_common.c
parent4bfc2d21a157466ee2de7dc8f572d78dfa6a7dfe (diff)
downloadarm-trusted-firmware-48e2ca7967b8569cd8028b2ed7d1897a396c7b4a.tar.gz
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>
Diffstat (limited to 'common/bl_common.c')
0 files changed, 0 insertions, 0 deletions