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