]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mach-k3: j721e_init: Move clk_k3 probe before loading TIFS
authorNeha Malcom Francis <n-francis@ti.com>
Wed, 27 Sep 2023 13:09:52 +0000 (18:39 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 4 Oct 2023 18:16:01 +0000 (14:16 -0400)
commit50fa67d091b6ffbc1d77d3100d7b31795bf64928
tree393b3bfd5a05fb0c510f8b3fdaa2d471582a475d
parentdd0169f0331c9e0e1b0f8a5a639feac0c861c520
arm: mach-k3: j721e_init: Move clk_k3 probe before loading TIFS

When setting boot media to load the TIFS binary in legacy boot flow
(followed by J721E), get_timer() is called which eventually calls
dm_timer_init() to grab the tick-timer, which is mcu_timer0. Since we
need to set up the clocks before using the timer, move clk_k3 driver
probe before k3_sysfw_loader to ensure we have all necessary clocks set
up before.

Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Manorit Chawdhry <m-chawdhry@ti.com>
arch/arm/mach-k3/j721e_init.c