summaryrefslogtreecommitdiff
path: root/src/arch/arm64
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2015-05-20 11:03:50 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-05-27 08:21:11 +0200
commit49d30668b628cb68c61a7b2512628263752360c3 (patch)
treef9a7546792bde972abff25e07eafe5e623931641 /src/arch/arm64
parentb9215ab8c84d817fb51c68ee3df839321b21d2c2 (diff)
arm64: Add weak implementation of soc_get_bl31_plat_params
This function is required to be implemented by SoC only if some platform specific parameters are to be passed in from the early bootloader to bl31 component. BUG=chrome-os-partner:40414 BRANCH=None TEST=Compiles successfully. Change-Id: I6e76a0b6735267971e12aa72a987e8d83f5ad102 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 6ab8bc12ffc2ee5bf69cef68bae852dcbf7ccb98 Original-Change-Id: If55aaee8d18a8045a5d842145c0e2c97a37a8bca Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/272377 Original-Tested-by: Furquan Shaikh <furquan@chromium.org> Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org> Original-Trybot-Ready: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/10308 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/arch/arm64')
-rw-r--r--src/arch/arm64/arm_tf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/arm64/arm_tf.c b/src/arch/arm64/arm_tf.c
index c5d46e37c5..1bdf522a2c 100644
--- a/src/arch/arm64/arm_tf.c
+++ b/src/arch/arm64/arm_tf.c
@@ -65,6 +65,12 @@ static void *vboot_get_bl31(void)
return bl31_entry;
}
+void __attribute__((weak)) *soc_get_bl31_plat_params(bl31_params_t *params)
+{
+ /* Default weak implementation. */
+ return NULL;
+}
+
void arm_tf_run_bl31(u64 payload_entry, u64 payload_arg0, u64 payload_spsr)
{
const char *bl31_filename = CONFIG_CBFS_PREFIX"/bl31";