From: Andrew Davis Date: Tue, 7 Mar 2023 15:22:32 +0000 (-0600) Subject: fix(ti): do not take system power reference in bl31_platform_setup() X-Git-Tag: baikal/aarch64/sdk5.10~1^2~164^2 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=9977948112d732935362a3fe8518e3b2e4b7f6b7;p=arm-tf.git fix(ti): do not take system power reference in bl31_platform_setup() Taking a reference at this early stage can cause boot failure if the DM firmware is not fully initialized. Remove this early call until the fix in DM firmware is widely available. Signed-off-by: Andrew Davis Change-Id: Ic9c47ccf1e9a1b9faeb1c7d2665d54cf55ef5396 --- diff --git a/plat/ti/k3/common/k3_bl31_setup.c b/plat/ti/k3/common/k3_bl31_setup.c index 9a1fd94ea..242b1eab1 100644 --- a/plat/ti/k3/common/k3_bl31_setup.c +++ b/plat/ti/k3/common/k3_bl31_setup.c @@ -121,10 +121,6 @@ void bl31_platform_setup(void) k3_gic_init(); ti_sci_init(); - - if (ti_sci_device_get(PLAT_BOARD_DEVICE_ID)) { - WARN("Unable to take system power reference\n"); - } } void platform_mem_init(void)