mvebu: kirkwood: simplify soc init code flow
Similar to the two previous commits, this gets rid of a of-fixup which
is strange because the soc init stuff is rerun then when a new dt for
booting into Linux is loaded.

The initcall must be postponed to post-core to ensure
of_machine_is_compatible is working correctly.

The call to mvebu_mbus_add_range is moved to drivers/bus/mvebu-mbus.c to
ensure it's registered early enough.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f8d4f62 commit 59cce42f38a89697f9fd3e04e66aa9c06a5ea093
@Uwe Kleine-König Uwe Kleine-König authored on 25 Feb 2017
Sascha Hauer committed on 2 Mar 2017
Showing 2 changed files
View
arch/arm/mach-mvebu/kirkwood.c
View
drivers/bus/mvebu-mbus.c