diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-10-13 13:17:18 -0400 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-11-28 09:50:38 -0500 |
commit | cfa5a1fe7e65bacdee59d5df60a9f44b0c030532 (patch) | |
tree | 9b1f7ec23974b3176e47b4163a0b938e73e105a8 /arch/arm/mach-at91/at91cap9.c | |
parent | eab5fd67d6d144ae9877a3de307714836bd1fbf0 (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/at91cap9.c')
-rw-r--r-- | arch/arm/mach-at91/at91cap9.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/at91cap9.c b/arch/arm/mach-at91/at91cap9.c index fe00dceba0af..36872070afef 100644 --- a/arch/arm/mach-at91/at91cap9.c +++ b/arch/arm/mach-at91/at91cap9.c | |||
@@ -333,6 +333,10 @@ static void __init at91cap9_map_io(void) | |||
333 | at91_init_sram(0, AT91CAP9_SRAM_BASE, AT91CAP9_SRAM_SIZE); | 333 | at91_init_sram(0, AT91CAP9_SRAM_BASE, AT91CAP9_SRAM_SIZE); |
334 | } | 334 | } |
335 | 335 | ||
336 | static void __init at91cap9_ioremap_registers(void) | ||
337 | { | ||
338 | } | ||
339 | |||
336 | static void __init at91cap9_initialize(void) | 340 | static void __init at91cap9_initialize(void) |
337 | { | 341 | { |
338 | at91_arch_reset = at91cap9_reset; | 342 | at91_arch_reset = at91cap9_reset; |
@@ -394,6 +398,7 @@ static unsigned int at91cap9_default_irq_priority[NR_AIC_IRQS] __initdata = { | |||
394 | struct at91_init_soc __initdata at91cap9_soc = { | 398 | struct at91_init_soc __initdata at91cap9_soc = { |
395 | .map_io = at91cap9_map_io, | 399 | .map_io = at91cap9_map_io, |
396 | .default_irq_priority = at91cap9_default_irq_priority, | 400 | .default_irq_priority = at91cap9_default_irq_priority, |
401 | .ioremap_registers = at91cap9_ioremap_registers, | ||
397 | .register_clocks = at91cap9_register_clocks, | 402 | .register_clocks = at91cap9_register_clocks, |
398 | .init = at91cap9_initialize, | 403 | .init = at91cap9_initialize, |
399 | }; | 404 | }; |