Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f29bc0a4 authored by Anatolij Gustschin's avatar Anatolij Gustschin
Browse files

powerpc/512x: initialize clocks before bus probing



Early driver probing can fail due to not available clocks
(clk_get() fails) since the clk API init didn't take place yet.
Move clocks init before bus probing.

Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
parent f4ef3453
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -431,8 +431,8 @@ void __init mpc512x_psc_fifo_init(void)

void __init mpc512x_init(void)
{
	mpc512x_declare_of_platform_devices();
	mpc5121_clk_init();
	mpc512x_declare_of_platform_devices();
	mpc512x_restart_init();
	mpc512x_psc_fifo_init();
}