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: Anatolij Gustschin <agust@denx.de>
This commit is contained in:
Anatolij Gustschin 2013-01-25 17:29:21 +01:00
parent f4ef34537a
commit f29bc0a4e3
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}