aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/setup.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/setup.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/setup.c')
-rw-r--r--arch/arm/mach-at91/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c
index aa64294c7db3..63b3ac2595b7 100644
--- a/arch/arm/mach-at91/setup.c
+++ b/arch/arm/mach-at91/setup.c
@@ -287,6 +287,8 @@ void __init at91_map_io(void)
287 287
288void __init at91_initialize(unsigned long main_clock) 288void __init at91_initialize(unsigned long main_clock)
289{ 289{
290 at91_boot_soc.ioremap_registers();
291
290 /* Init clock subsystem */ 292 /* Init clock subsystem */
291 at91_clock_init(main_clock); 293 at91_clock_init(main_clock);
292 294