diff options
Diffstat (limited to 'arch/arm/mach-at91rm9200/board-csb637.c')
-rw-r--r-- | arch/arm/mach-at91rm9200/board-csb637.c | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/arch/arm/mach-at91rm9200/board-csb637.c b/arch/arm/mach-at91rm9200/board-csb637.c index c8b6f334246a..a29fa0e822ce 100644 --- a/arch/arm/mach-at91rm9200/board-csb637.c +++ b/arch/arm/mach-at91rm9200/board-csb637.c | |||
@@ -33,20 +33,11 @@ | |||
33 | #include <asm/mach/map.h> | 33 | #include <asm/mach/map.h> |
34 | #include <asm/mach/irq.h> | 34 | #include <asm/mach/irq.h> |
35 | 35 | ||
36 | #include <asm/hardware.h> | ||
37 | #include <asm/arch/board.h> | 36 | #include <asm/arch/board.h> |
38 | #include <asm/arch/gpio.h> | 37 | #include <asm/arch/gpio.h> |
39 | 38 | ||
40 | #include "generic.h" | 39 | #include "generic.h" |
41 | 40 | ||
42 | static void __init csb637_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(BGA_GPIO_BANKS); | ||
49 | } | ||
50 | 41 | ||
51 | /* | 42 | /* |
52 | * Serial port configuration. | 43 | * Serial port configuration. |
@@ -61,10 +52,8 @@ static struct at91_uart_config __initdata csb637_uart_config = { | |||
61 | 52 | ||
62 | static void __init csb637_map_io(void) | 53 | static void __init csb637_map_io(void) |
63 | { | 54 | { |
64 | at91rm9200_map_io(); | 55 | /* Initialize processor: 3.6864 MHz crystal */ |
65 | 56 | at91rm9200_initialize(3686400, AT91RM9200_BGA); | |
66 | /* Initialize clocks: 3.6864 MHz crystal */ | ||
67 | at91_clock_init(3686400); | ||
68 | 57 | ||
69 | /* Setup the LEDs */ | 58 | /* Setup the LEDs */ |
70 | at91_init_leds(AT91_PIN_PB2, AT91_PIN_PB2); | 59 | at91_init_leds(AT91_PIN_PB2, AT91_PIN_PB2); |
@@ -73,6 +62,11 @@ static void __init csb637_map_io(void) | |||
73 | at91_init_serial(&csb637_uart_config); | 62 | at91_init_serial(&csb637_uart_config); |
74 | } | 63 | } |
75 | 64 | ||
65 | static void __init csb637_init_irq(void) | ||
66 | { | ||
67 | at91rm9200_init_interrupts(NULL); | ||
68 | } | ||
69 | |||
76 | static struct at91_eth_data __initdata csb637_eth_data = { | 70 | static struct at91_eth_data __initdata csb637_eth_data = { |
77 | .phy_irq_pin = AT91_PIN_PC0, | 71 | .phy_irq_pin = AT91_PIN_PC0, |
78 | .is_rmii = 0, | 72 | .is_rmii = 0, |