diff options
Diffstat (limited to 'arch/arm/mach-at91/setup.c')
-rw-r--r-- | arch/arm/mach-at91/setup.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c index 096eb9805212..8962d9a1a8f6 100644 --- a/arch/arm/mach-at91/setup.c +++ b/arch/arm/mach-at91/setup.c | |||
@@ -18,6 +18,20 @@ | |||
18 | 18 | ||
19 | struct at91_soc __initdata at91_boot_soc; | 19 | struct at91_soc __initdata at91_boot_soc; |
20 | 20 | ||
21 | void __init at91_init_irq_default(void) | ||
22 | { | ||
23 | at91_init_interrupts(at91_boot_soc.default_irq_priority); | ||
24 | } | ||
25 | |||
26 | void __init at91_init_interrupts(unsigned int *priority) | ||
27 | { | ||
28 | /* Initialize the AIC interrupt controller */ | ||
29 | at91_aic_init(priority); | ||
30 | |||
31 | /* Enable GPIO interrupts */ | ||
32 | at91_gpio_irq_setup(); | ||
33 | } | ||
34 | |||
21 | static struct map_desc at91_io_desc __initdata = { | 35 | static struct map_desc at91_io_desc __initdata = { |
22 | .virtual = AT91_VA_BASE_SYS, | 36 | .virtual = AT91_VA_BASE_SYS, |
23 | .pfn = __phys_to_pfn(AT91_BASE_SYS), | 37 | .pfn = __phys_to_pfn(AT91_BASE_SYS), |