Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>

authored by

Ezequiel Garcia and committed by
Jason Cooper
511aaab0 e1cb367d

-8
-8
arch/arm/mach-kirkwood/board-dt.c
··· 72 72 clocksource_of_init(); 73 73 } 74 74 75 - static void __init kirkwood_dt_init_early(void) 76 - { 77 - mvebu_mbus_init("marvell,kirkwood-mbus", 78 - BRIDGE_WINS_BASE, BRIDGE_WINS_SZ, 79 - DDR_WINDOW_CPU_BASE, DDR_WINDOW_CPU_SZ); 80 - } 81 - 82 75 static void __init kirkwood_dt_init(void) 83 76 { 84 77 pr_info("Kirkwood: %s, TCLK=%d.\n", kirkwood_id(), kirkwood_tclk); ··· 115 122 DT_MACHINE_START(KIRKWOOD_DT, "Marvell Kirkwood (Flattened Device Tree)") 116 123 /* Maintainer: Jason Cooper <jason@lakedaemon.net> */ 117 124 .map_io = kirkwood_map_io, 118 - .init_early = kirkwood_dt_init_early, 119 125 .init_time = kirkwood_dt_time_init, 120 126 .init_machine = kirkwood_dt_init, 121 127 .restart = kirkwood_restart,