diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-02-07 10:35:20 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-02-10 08:23:49 -0500 |
commit | 97976e223be3091a91da103358c3c6cffff7db81 (patch) | |
tree | 3f658a7775f0049a3365d8d1c94fed0b6fedc903 /arch/arm/mach-mx3/mach-armadillo5x0.c | |
parent | 3dac219615b88010601ee52e7b5fd1c32ef789ea (diff) |
ARM: mx3: 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-mx3/mach-armadillo5x0.c')
-rw-r--r-- | arch/arm/mach-mx3/mach-armadillo5x0.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm/mach-mx3/mach-armadillo5x0.c b/arch/arm/mach-mx3/mach-armadillo5x0.c index 28b6f414b5d5..835e2a082b41 100644 --- a/arch/arm/mach-mx3/mach-armadillo5x0.c +++ b/arch/arm/mach-mx3/mach-armadillo5x0.c | |||
@@ -569,9 +569,10 @@ static struct sys_timer armadillo5x0_timer = { | |||
569 | 569 | ||
570 | MACHINE_START(ARMADILLO5X0, "Armadillo-500") | 570 | MACHINE_START(ARMADILLO5X0, "Armadillo-500") |
571 | /* Maintainer: Alberto Panizzo */ | 571 | /* Maintainer: Alberto Panizzo */ |
572 | .boot_params = MX3x_PHYS_OFFSET + 0x100, | 572 | .boot_params = MX3x_PHYS_OFFSET + 0x100, |
573 | .map_io = mx31_map_io, | 573 | .map_io = mx31_map_io, |
574 | .init_irq = mx31_init_irq, | 574 | .init_early = imx31_init_early, |
575 | .timer = &armadillo5x0_timer, | 575 | .init_irq = mx31_init_irq, |
576 | .init_machine = armadillo5x0_init, | 576 | .timer = &armadillo5x0_timer, |
577 | .init_machine = armadillo5x0_init, | ||
577 | MACHINE_END | 578 | MACHINE_END |