aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91rm9200/board-csb637.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91rm9200/board-csb637.c')
-rw-r--r--arch/arm/mach-at91rm9200/board-csb637.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/arch/arm/mach-at91rm9200/board-csb637.c b/arch/arm/mach-at91rm9200/board-csb637.c
index 880350997a3b..a29fa0e822ce 100644
--- a/arch/arm/mach-at91rm9200/board-csb637.c
+++ b/arch/arm/mach-at91rm9200/board-csb637.c
@@ -38,14 +38,6 @@
38 38
39#include "generic.h" 39#include "generic.h"
40 40
41static void __init csb637_init_irq(void)
42{
43 /* Initialize AIC controller */
44 at91rm9200_init_irq(NULL);
45
46 /* Set up the GPIO interrupts */
47 at91_gpio_irq_setup(BGA_GPIO_BANKS);
48}
49 41
50/* 42/*
51 * Serial port configuration. 43 * Serial port configuration.
@@ -61,7 +53,7 @@ static struct at91_uart_config __initdata csb637_uart_config = {
61static void __init csb637_map_io(void) 53static void __init csb637_map_io(void)
62{ 54{
63 /* Initialize processor: 3.6864 MHz crystal */ 55 /* Initialize processor: 3.6864 MHz crystal */
64 at91rm9200_initialize(3686400); 56 at91rm9200_initialize(3686400, AT91RM9200_BGA);
65 57
66 /* Setup the LEDs */ 58 /* Setup the LEDs */
67 at91_init_leds(AT91_PIN_PB2, AT91_PIN_PB2); 59 at91_init_leds(AT91_PIN_PB2, AT91_PIN_PB2);
@@ -70,6 +62,11 @@ static void __init csb637_map_io(void)
70 at91_init_serial(&csb637_uart_config); 62 at91_init_serial(&csb637_uart_config);
71} 63}
72 64
65static void __init csb637_init_irq(void)
66{
67 at91rm9200_init_interrupts(NULL);
68}
69
73static struct at91_eth_data __initdata csb637_eth_data = { 70static struct at91_eth_data __initdata csb637_eth_data = {
74 .phy_irq_pin = AT91_PIN_PC0, 71 .phy_irq_pin = AT91_PIN_PC0,
75 .is_rmii = 0, 72 .is_rmii = 0,