Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 511aaab0 authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Jason Cooper
Browse files

ARM: kirkwood: Remove unneeded MBus initialization



Since the MBus is initialized from the DT, it's not necessary to
call the legacy initialization.

Signed-off-by: default avatarEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent e1cb367d
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -72,13 +72,6 @@ static void __init kirkwood_dt_time_init(void)
	clocksource_of_init();
}

static void __init kirkwood_dt_init_early(void)
{
	mvebu_mbus_init("marvell,kirkwood-mbus",
			BRIDGE_WINS_BASE, BRIDGE_WINS_SZ,
			DDR_WINDOW_CPU_BASE, DDR_WINDOW_CPU_SZ);
}

static void __init kirkwood_dt_init(void)
{
	pr_info("Kirkwood: %s, TCLK=%d.\n", kirkwood_id(), kirkwood_tclk);
@@ -122,7 +115,6 @@ static const char * const kirkwood_dt_board_compat[] = {
DT_MACHINE_START(KIRKWOOD_DT, "Marvell Kirkwood (Flattened Device Tree)")
	/* Maintainer: Jason Cooper <jason@lakedaemon.net> */
	.map_io		= kirkwood_map_io,
	.init_early	= kirkwood_dt_init_early,
	.init_time	= kirkwood_dt_time_init,
	.init_machine	= kirkwood_dt_init,
	.restart	= kirkwood_restart,