summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5/board-mx53_loco.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2011-02-07 16:35:21 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-02-10 14:23:49 +0100
commitab130421269aec9bf83d8ef5b7ceda80e2619599 (patch)
tree46c0acbead33b9d4bfb4be32d5777ce4afdf7413 /arch/arm/mach-mx5/board-mx53_loco.c
parent97976e223be3091a91da103358c3c6cffff7db81 (diff)
downloadop-kernel-dev-ab130421269aec9bf83d8ef5b7ceda80e2619599.zip
op-kernel-dev-ab130421269aec9bf83d8ef5b7ceda80e2619599.tar.gz
ARM: mx5: use .init_early to initialize cpu type, reset address and iomuxer
This used to be done in .map_io which is supposed to only setup the memory mapping. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/board-mx53_loco.c')
-rw-r--r--arch/arm/mach-mx5/board-mx53_loco.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-mx5/board-mx53_loco.c b/arch/arm/mach-mx5/board-mx53_loco.c
index 3aefd6d..0fea252 100644
--- a/arch/arm/mach-mx5/board-mx53_loco.c
+++ b/arch/arm/mach-mx5/board-mx53_loco.c
@@ -82,7 +82,8 @@ static struct sys_timer mx53_loco_timer = {
MACHINE_START(MX53_LOCO, "Freescale MX53 LOCO Board")
.map_io = mx53_map_io,
+ .init_early = imx53_init_early,
.init_irq = mx53_init_irq,
- .init_machine = mx53_loco_board_init,
.timer = &mx53_loco_timer,
+ .init_machine = mx53_loco_board_init,
MACHINE_END
OpenPOWER on IntegriCloud