Patrick Georgi (pgeorgi@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10308
-gerrit
commit e05f000c87b735cd2bba3459f184ea3f3b7cf6fd Author: Furquan Shaikh furquan@google.com Date: Wed May 20 11:03:50 2015 -0700
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 --- src/arch/arm64/arm_tf.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/src/arch/arm64/arm_tf.c b/src/arch/arm64/arm_tf.c index c5d46e3..1bdf522 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";