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>
This commit is contained in:
parent
b9215ab8c8
commit
49d30668b6
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue