diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2013-07-26 09:18:01 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-08-06 10:11:31 -0400 |
commit | 0789d0b2c342bc0fdfe813994668b80fcef5d05a (patch) | |
tree | d35844b143d60ae01ea58a2bbf6bc451a277fdc8 /arch/arm/mach-kirkwood/common.c | |
parent | 14fd8ed0a7fd199131425fe9e802173c4ba6a4e9 (diff) |
ARM: kirkwood: Split DT and legacy MBus initialization
This commit replaces the legacy MBus initialization with the new
DT-based in Kirkwood. For boards that are not yet converted to DT,
we keep the legacy initialization.
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/common.c')
-rw-r--r-- | arch/arm/mach-kirkwood/common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-kirkwood/common.c b/arch/arm/mach-kirkwood/common.c index 165e75146601..15b7e72e890b 100644 --- a/arch/arm/mach-kirkwood/common.c +++ b/arch/arm/mach-kirkwood/common.c | |||
@@ -534,10 +534,6 @@ void __init kirkwood_cpuidle_init(void) | |||
534 | void __init kirkwood_init_early(void) | 534 | void __init kirkwood_init_early(void) |
535 | { | 535 | { |
536 | orion_time_set_base(TIMER_VIRT_BASE); | 536 | orion_time_set_base(TIMER_VIRT_BASE); |
537 | |||
538 | mvebu_mbus_init("marvell,kirkwood-mbus", | ||
539 | BRIDGE_WINS_BASE, BRIDGE_WINS_SZ, | ||
540 | DDR_WINDOW_CPU_BASE, DDR_WINDOW_CPU_SZ); | ||
541 | } | 537 | } |
542 | 538 | ||
543 | int kirkwood_tclk; | 539 | int kirkwood_tclk; |
@@ -713,6 +709,10 @@ void __init kirkwood_init(void) | |||
713 | */ | 709 | */ |
714 | writel(readl(CPU_CONFIG) & ~CPU_CONFIG_ERROR_PROP, CPU_CONFIG); | 710 | writel(readl(CPU_CONFIG) & ~CPU_CONFIG_ERROR_PROP, CPU_CONFIG); |
715 | 711 | ||
712 | BUG_ON(mvebu_mbus_init("marvell,kirkwood-mbus", | ||
713 | BRIDGE_WINS_BASE, BRIDGE_WINS_SZ, | ||
714 | DDR_WINDOW_CPU_BASE, DDR_WINDOW_CPU_SZ)); | ||
715 | |||
716 | kirkwood_setup_wins(); | 716 | kirkwood_setup_wins(); |
717 | 717 | ||
718 | kirkwood_l2_init(); | 718 | kirkwood_l2_init(); |