arm-trusted-firmware/common
Julius Werner d9af1f7b6f 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>
2019-07-23 20:25:34 -07:00
..
aarch32 ARMv7 may not support Virtualization Extensions 2017-11-08 14:38:33 +01:00
aarch64 Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
backtrace Correct typographical errors 2019-01-15 15:16:02 +00:00
bl_common.c Correctly check for support of Address Authentication 2019-03-01 10:13:39 +00:00
desc_image_load.c Add helper to parse BL31 parameters (both versions) 2019-07-23 20:25:34 -07:00
fdt_wrappers.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
image_decompress.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
runtime_svc.c Remove support for the SMC Calling Convention 2.0 2019-01-30 16:01:49 +00:00
tf_log.c Remove references to old project name from common files 2019-07-10 11:13:00 +01:00