diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-07-02 20:30:40 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-07-05 08:27:10 +0200 |
commit | edf543d93e3ff66f9f8bb384eb49857f81c34ca3 (patch) | |
tree | d0b4c8bc6028e32bccaca552759a5f35a3cac814 /arch/arm/mach-mvebu | |
parent | cf31688b6a6981bf6e66ec8587d0ccf3dd72a594 (diff) | |
download | barebox-edf543d93e3ff66f9f8bb384eb49857f81c34ca3.tar.gz barebox-edf543d93e3ff66f9f8bb384eb49857f81c34ca3.tar.xz |
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>
Diffstat (limited to 'arch/arm/mach-mvebu')
-rw-r--r-- | arch/arm/mach-mvebu/armada-370-xp.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mvebu/dove.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mvebu/kirkwood.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-mvebu/armada-370-xp.c b/arch/arm/mach-mvebu/armada-370-xp.c index 2cdc3b0cbc..1d64861e67 100644 --- a/arch/arm/mach-mvebu/armada-370-xp.c +++ b/arch/arm/mach-mvebu/armada-370-xp.c @@ -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) { diff --git a/arch/arm/mach-mvebu/dove.c b/arch/arm/mach-mvebu/dove.c index 6e8e1130ec..ee63917d24 100644 --- a/arch/arm/mach-mvebu/dove.c +++ b/arch/arm/mach-mvebu/dove.c @@ -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) { diff --git a/arch/arm/mach-mvebu/kirkwood.c b/arch/arm/mach-mvebu/kirkwood.c index 3e16f410be..9e43dae60f 100644 --- a/arch/arm/mach-mvebu/kirkwood.c +++ b/arch/arm/mach-mvebu/kirkwood.c @@ -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) { |