diff options
Diffstat (limited to 'arch/arm/mach-at91rm9200/board-1arm.c')
-rw-r--r-- | arch/arm/mach-at91rm9200/board-1arm.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/arch/arm/mach-at91rm9200/board-1arm.c b/arch/arm/mach-at91rm9200/board-1arm.c index d2aa9c4a8b24..36eecd7161f5 100644 --- a/arch/arm/mach-at91rm9200/board-1arm.c +++ b/arch/arm/mach-at91rm9200/board-1arm.c | |||
@@ -39,14 +39,6 @@ | |||
39 | 39 | ||
40 | #include "generic.h" | 40 | #include "generic.h" |
41 | 41 | ||
42 | static void __init onearm_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,12 +54,17 @@ static struct at91_uart_config __initdata onearm_uart_config = { | |||
62 | static void __init onearm_map_io(void) | 54 | static void __init onearm_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 | /* Setup the serial ports and console */ | 59 | /* Setup the serial ports and console */ |
68 | at91_init_serial(&onearm_uart_config); | 60 | at91_init_serial(&onearm_uart_config); |
69 | } | 61 | } |
70 | 62 | ||
63 | static void __init onearm_init_irq(void) | ||
64 | { | ||
65 | at91rm9200_init_interrupts(NULL); | ||
66 | } | ||
67 | |||
71 | static struct at91_eth_data __initdata onearm_eth_data = { | 68 | static struct at91_eth_data __initdata onearm_eth_data = { |
72 | .phy_irq_pin = AT91_PIN_PC4, | 69 | .phy_irq_pin = AT91_PIN_PC4, |
73 | .is_rmii = 1, | 70 | .is_rmii = 1, |