Skip to content

Commit

Permalink
ARM: dove: switch to DT probed mbus address windows
Browse files Browse the repository at this point in the history
With proper mbus ranges and all internal nodes moved over, we can now
switch from static address window allocation to DT probed allocation.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
  • Loading branch information
Sebastian Hesselbarth authored and Jason Cooper committed Oct 8, 2013
1 parent cc54ccd commit e5901b5
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions arch/arm/mach-dove/board-dt.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,14 @@ static void __init dove_dt_time_init(void)
clocksource_of_init();
}

static void __init dove_dt_init_early(void)
{
mvebu_mbus_init("marvell,dove-mbus",
BRIDGE_WINS_BASE, BRIDGE_WINS_SZ,
DOVE_MC_WINS_BASE, DOVE_MC_WINS_SZ);
}

static void __init dove_dt_init(void)
{
pr_info("Dove 88AP510 SoC\n");

#ifdef CONFIG_CACHE_TAUROS2
tauros2_init(0);
#endif
dove_setup_cpu_wins();
BUG_ON(mvebu_mbus_dt_init());

/* Setup clocks for legacy devices */
dove_legacy_clk_init();
Expand All @@ -83,7 +76,6 @@ static const char * const dove_dt_board_compat[] = {

DT_MACHINE_START(DOVE_DT, "Marvell Dove (Flattened Device Tree)")
.map_io = dove_map_io,
.init_early = dove_dt_init_early,
.init_time = dove_dt_time_init,
.init_machine = dove_dt_init,
.restart = dove_restart,
Expand Down

0 comments on commit e5901b5

Please sign in to comment.