diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-02-07 10:35:19 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-02-10 08:23:48 -0500 |
commit | 3dac219615b88010601ee52e7b5fd1c32ef789ea (patch) | |
tree | e2be4a211f7fe7df748e90a30d84b432895fc4c7 /arch/arm/mach-imx/mach-mx21ads.c | |
parent | 5836372e8a0ba5cc633f61bc0484ee20c86f4b36 (diff) |
ARM: imx: use .init_early to initialize cpu type and reset address
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-imx/mach-mx21ads.c')
-rw-r--r-- | arch/arm/mach-imx/mach-mx21ads.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm/mach-imx/mach-mx21ads.c b/arch/arm/mach-imx/mach-mx21ads.c index 0a372577c2ac..fa52a1086eae 100644 --- a/arch/arm/mach-imx/mach-mx21ads.c +++ b/arch/arm/mach-imx/mach-mx21ads.c | |||
@@ -304,9 +304,10 @@ static struct sys_timer mx21ads_timer = { | |||
304 | 304 | ||
305 | MACHINE_START(MX21ADS, "Freescale i.MX21ADS") | 305 | MACHINE_START(MX21ADS, "Freescale i.MX21ADS") |
306 | /* maintainer: Freescale Semiconductor, Inc. */ | 306 | /* maintainer: Freescale Semiconductor, Inc. */ |
307 | .boot_params = MX21_PHYS_OFFSET + 0x100, | 307 | .boot_params = MX21_PHYS_OFFSET + 0x100, |
308 | .map_io = mx21ads_map_io, | 308 | .map_io = mx21ads_map_io, |
309 | .init_irq = mx21_init_irq, | 309 | .init_early = imx21_init_early, |
310 | .init_machine = mx21ads_board_init, | 310 | .init_irq = mx21_init_irq, |
311 | .timer = &mx21ads_timer, | 311 | .timer = &mx21ads_timer, |
312 | .init_machine = mx21ads_board_init, | ||
312 | MACHINE_END | 313 | MACHINE_END |