aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9rl.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-10-13 13:17:18 -0400
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-11-28 09:50:38 -0500
commitcfa5a1fe7e65bacdee59d5df60a9f44b0c030532 (patch)
tree9b1f7ec23974b3176e47b4163a0b938e73e105a8 /arch/arm/mach-at91/at91sam9rl.c
parenteab5fd67d6d144ae9877a3de307714836bd1fbf0 (diff)
ARM: at91: add ioremap_registers entry point to soc setup
this will allow to ioremap the register of the PIT, PMC and others and make the code soc independent Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9rl.c')
-rw-r--r--arch/arm/mach-at91/at91sam9rl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91/at91sam9rl.c
index c4004e21d805..29dae9b275b0 100644
--- a/arch/arm/mach-at91/at91sam9rl.c
+++ b/arch/arm/mach-at91/at91sam9rl.c
@@ -290,6 +290,10 @@ static void __init at91sam9rl_map_io(void)
290 at91_init_sram(0, AT91SAM9RL_SRAM_BASE, sram_size); 290 at91_init_sram(0, AT91SAM9RL_SRAM_BASE, sram_size);
291} 291}
292 292
293static void __init at91sam9rl_ioremap_registers(void)
294{
295}
296
293static void __init at91sam9rl_initialize(void) 297static void __init at91sam9rl_initialize(void)
294{ 298{
295 at91_arch_reset = at91sam9_alt_reset; 299 at91_arch_reset = at91sam9_alt_reset;
@@ -345,6 +349,7 @@ static unsigned int at91sam9rl_default_irq_priority[NR_AIC_IRQS] __initdata = {
345struct at91_init_soc __initdata at91sam9rl_soc = { 349struct at91_init_soc __initdata at91sam9rl_soc = {
346 .map_io = at91sam9rl_map_io, 350 .map_io = at91sam9rl_map_io,
347 .default_irq_priority = at91sam9rl_default_irq_priority, 351 .default_irq_priority = at91sam9rl_default_irq_priority,
352 .ioremap_registers = at91sam9rl_ioremap_registers,
348 .register_clocks = at91sam9rl_register_clocks, 353 .register_clocks = at91sam9rl_register_clocks,
349 .init = at91sam9rl_initialize, 354 .init = at91sam9rl_initialize,
350}; 355};