ARM: mvebu: move soc_init to core_initcall
Clocks need to be accessed early for DT support, so move soc_init to core_initcall instead of postcore_initcall. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
cf31688b6a
commit
edf543d93e
|
@ -109,7 +109,7 @@ static int armada_370_xp_init_soc(void)
|
|||
armada_370_xp_add_uart();
|
||||
return 0;
|
||||
}
|
||||
postcore_initcall(armada_370_xp_init_soc);
|
||||
core_initcall(armada_370_xp_init_soc);
|
||||
|
||||
void __noreturn reset_cpu(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -132,7 +132,7 @@ static int dove_init_soc(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
postcore_initcall(dove_init_soc);
|
||||
core_initcall(dove_init_soc);
|
||||
|
||||
void __noreturn reset_cpu(unsigned long addr)
|
||||
{
|
||||
|
|
|
@ -95,7 +95,7 @@ static int kirkwood_init_soc(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
postcore_initcall(kirkwood_init_soc);
|
||||
core_initcall(kirkwood_init_soc);
|
||||
|
||||
void __noreturn reset_cpu(unsigned long addr)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue