aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91rm9200/board-kafa.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91rm9200/board-kafa.c')
-rw-r--r--arch/arm/mach-at91rm9200/board-kafa.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/arch/arm/mach-at91rm9200/board-kafa.c b/arch/arm/mach-at91rm9200/board-kafa.c
index d9a6b7e7d63a..91e301924f2c 100644
--- a/arch/arm/mach-at91rm9200/board-kafa.c
+++ b/arch/arm/mach-at91rm9200/board-kafa.c
@@ -39,14 +39,6 @@
39 39
40#include "generic.h" 40#include "generic.h"
41 41
42static void __init kafa_init_irq(void)
43{
44 /* Initialize AIC controller */
45 at91rm9200_init_irq(NULL);
46
47 /* Set up the GPIO interrupts */
48 at91_gpio_irq_setup(PQFP_GPIO_BANKS);
49}
50 42
51/* 43/*
52 * Serial port configuration. 44 * Serial port configuration.
@@ -62,7 +54,7 @@ static struct at91_uart_config __initdata kafa_uart_config = {
62static void __init kafa_map_io(void) 54static void __init kafa_map_io(void)
63{ 55{
64 /* Initialize processor: 18.432 MHz crystal */ 56 /* Initialize processor: 18.432 MHz crystal */
65 at91rm9200_initialize(18432000); 57 at91rm9200_initialize(18432000, AT91RM9200_PQFP);
66 58
67 /* Set up the LEDs */ 59 /* Set up the LEDs */
68 at91_init_leds(AT91_PIN_PB4, AT91_PIN_PB4); 60 at91_init_leds(AT91_PIN_PB4, AT91_PIN_PB4);
@@ -71,6 +63,11 @@ static void __init kafa_map_io(void)
71 at91_init_serial(&kafa_uart_config); 63 at91_init_serial(&kafa_uart_config);
72} 64}
73 65
66static void __init kafa_init_irq(void)
67{
68 at91rm9200_init_interrupts(NULL);
69}
70
74static struct at91_eth_data __initdata kafa_eth_data = { 71static struct at91_eth_data __initdata kafa_eth_data = {
75 .phy_irq_pin = AT91_PIN_PC4, 72 .phy_irq_pin = AT91_PIN_PC4,
76 .is_rmii = 0, 73 .is_rmii = 0,