]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
fix(ti): do not take system power reference in bl31_platform_setup()
authorAndrew Davis <afd@ti.com>
Tue, 7 Mar 2023 15:22:32 +0000 (09:22 -0600)
committerAndrew Davis <afd@ti.com>
Tue, 7 Mar 2023 15:22:32 +0000 (09:22 -0600)
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 <afd@ti.com>
Change-Id: Ic9c47ccf1e9a1b9faeb1c7d2665d54cf55ef5396

plat/ti/k3/common/k3_bl31_setup.c

index 9a1fd94ea97225c89117ac3632781b1772e88c56..242b1eab13e35ac6e60e9cda36f3ea4c1c076ae9 100644 (file)
@@ -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)