aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9rl.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/at91sam9rl.c')
-rw-r--r--arch/arm/mach-at91/at91sam9rl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91/at91sam9rl.c
index 6a9d24e5ed8e..67c869783c7e 100644
--- a/arch/arm/mach-at91/at91sam9rl.c
+++ b/arch/arm/mach-at91/at91sam9rl.c
@@ -252,7 +252,7 @@ static void at91sam9rl_poweroff(void)
252 * AT91SAM9RL processor initialization 252 * AT91SAM9RL processor initialization
253 * -------------------------------------------------------------------- */ 253 * -------------------------------------------------------------------- */
254 254
255void __init at91sam9rl_initialize(unsigned long main_clock) 255void __init at91sam9rl_map_io(void)
256{ 256{
257 unsigned long cidr, sram_size; 257 unsigned long cidr, sram_size;
258 258
@@ -275,7 +275,10 @@ void __init at91sam9rl_initialize(unsigned long main_clock)
275 275
276 /* Map SRAM */ 276 /* Map SRAM */
277 iotable_init(at91sam9rl_sram_desc, ARRAY_SIZE(at91sam9rl_sram_desc)); 277 iotable_init(at91sam9rl_sram_desc, ARRAY_SIZE(at91sam9rl_sram_desc));
278}
278 279
280void __init at91sam9rl_initialize(unsigned long main_clock)
281{
279 at91_arch_reset = at91sam9_alt_reset; 282 at91_arch_reset = at91sam9_alt_reset;
280 pm_power_off = at91sam9rl_poweroff; 283 pm_power_off = at91sam9rl_poweroff;
281 at91_extern_irq = (1 << AT91SAM9RL_ID_IRQ0); 284 at91_extern_irq = (1 << AT91SAM9RL_ID_IRQ0);