diff options
Diffstat (limited to 'arch/arm/mach-at91rm9200/board-1arm.c')
-rw-r--r-- | arch/arm/mach-at91rm9200/board-1arm.c | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/arch/arm/mach-at91rm9200/board-1arm.c b/arch/arm/mach-at91rm9200/board-1arm.c index dc79e0992af7..36eecd7161f5 100644 --- a/arch/arm/mach-at91rm9200/board-1arm.c +++ b/arch/arm/mach-at91rm9200/board-1arm.c | |||
@@ -34,20 +34,11 @@ | |||
34 | #include <asm/mach/map.h> | 34 | #include <asm/mach/map.h> |
35 | #include <asm/mach/irq.h> | 35 | #include <asm/mach/irq.h> |
36 | 36 | ||
37 | #include <asm/hardware.h> | ||
38 | #include <asm/arch/board.h> | 37 | #include <asm/arch/board.h> |
39 | #include <asm/arch/gpio.h> | 38 | #include <asm/arch/gpio.h> |
40 | 39 | ||
41 | #include "generic.h" | 40 | #include "generic.h" |
42 | 41 | ||
43 | static void __init onearm_init_irq(void) | ||
44 | { | ||
45 | /* Initialize AIC controller */ | ||
46 | at91rm9200_init_irq(NULL); | ||
47 | |||
48 | /* Set up the GPIO interrupts */ | ||
49 | at91_gpio_irq_setup(PQFP_GPIO_BANKS); | ||
50 | } | ||
51 | 42 | ||
52 | /* | 43 | /* |
53 | * Serial port configuration. | 44 | * Serial port configuration. |
@@ -62,15 +53,18 @@ static struct at91_uart_config __initdata onearm_uart_config = { | |||
62 | 53 | ||
63 | static void __init onearm_map_io(void) | 54 | static void __init onearm_map_io(void) |
64 | { | 55 | { |
65 | at91rm9200_map_io(); | 56 | /* Initialize processor: 18.432 MHz crystal */ |
66 | 57 | at91rm9200_initialize(18432000, AT91RM9200_PQFP); | |
67 | /* Initialize clocks: 18.432 MHz crystal */ | ||
68 | at91_clock_init(18432000); | ||
69 | 58 | ||
70 | /* Setup the serial ports and console */ | 59 | /* Setup the serial ports and console */ |
71 | at91_init_serial(&onearm_uart_config); | 60 | at91_init_serial(&onearm_uart_config); |
72 | } | 61 | } |
73 | 62 | ||
63 | static void __init onearm_init_irq(void) | ||
64 | { | ||
65 | at91rm9200_init_interrupts(NULL); | ||
66 | } | ||
67 | |||
74 | static struct at91_eth_data __initdata onearm_eth_data = { | 68 | static struct at91_eth_data __initdata onearm_eth_data = { |
75 | .phy_irq_pin = AT91_PIN_PC4, | 69 | .phy_irq_pin = AT91_PIN_PC4, |
76 | .is_rmii = 1, | 70 | .is_rmii = 1, |