diff options
author | Ryan Harkin <ryan.harkin@linaro.org> | 2014-02-18 17:40:24 +0000 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-03-05 16:21:14 +0000 |
commit | 48e2ca7967b8569cd8028b2ed7d1897a396c7b4a (patch) | |
tree | 3962047603cd731b57748ba67c51a9bb05277ca4 /common | |
parent | 4bfc2d21a157466ee2de7dc8f572d78dfa6a7dfe (diff) |
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')
0 files changed, 0 insertions, 0 deletions