Commit 61305e00 authored by Dave Gerlach's avatar Dave Gerlach Committed by Lokesh Vutla
Browse files

arm: mach-k3: j721e_init: Force early probe of clk-k3 driver

Force the clk-k3 driver to probe early during R5 SPL boot to ensure the
default system clock configuration is completed. Many other drivers
assume a default state of the clock tree and it is currently possible
for them to probe before clk-k3 depending on the exact system
Signed-off-by: default avatarDave Gerlach <>
Reported-by: default avatarKeerthy <>
Tested-by: default avatarKeerthy <>
Signed-off-by: default avatarTero Kristo <>
parent 925698da
......@@ -180,6 +180,18 @@ void board_init_f(ulong dummy)
k3_mmc_stop_clock, k3_mmc_restart_clock);
* Force probe of clk_k3 driver here to ensure basic default clock
* configuration is always done.
ret = uclass_get_device_by_driver(UCLASS_CLK,
if (ret)
panic("Failed to initialize clk-k3!\n");
/* Prepare console output */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment