aboutsummaryrefslogtreecommitdiff
path: root/plat/rockchip
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2019-05-29 17:01:46 -0700
committerJulius Werner <jwerner@chromium.org>2019-07-23 20:25:34 -0700
commitd9af1f7b6f4ec29d42d15936f254215ad061569f (patch)
tree2a49446f750bbb14a379a53288b9c2f72722fbba /plat/rockchip
parent57bf6057721306d1ad1af1122a831789ded92885 (diff)
downloadtrusted-firmware-a-d9af1f7b6f4ec29d42d15936f254215ad061569f.tar.gz
Add helper to parse BL31 parameters (both versions)
BL31 used to take a single bl31_params_t parameter structure with entry point information in arg0. In commit 726002263 (Add new version of image loading.) this API was changed to a more flexible linked list approach, and the old parameter structure was copied into all platforms that still used the old format. This duplicated code unnecessarily among all these platforms. This patch adds a helper function that platforms can optionally link to outsource the task of interpreting arg0. Many platforms are just interested in the BL32 and BL33 entry point information anyway. Since some platforms still need to support the old version 1 parameters, the helper will support both formats when ERROR_DEPRECATED == 0. This allows those platforms to drop a bunch of boilerplate code and asynchronously update their BL2 implementation to the newer format. Change-Id: I9e6475adb1a7d4bccea666118bd1c54962e9fc38 Signed-off-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'plat/rockchip')
0 files changed, 0 insertions, 0 deletions