aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91rm9200/board-dk.c
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2006-09-27 05:50:59 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-09-28 06:52:06 -0400
commit2eeaaa21de68cb8869d3a54438a9224321d3dd03 (patch)
tree3d81cac00241b7a4239497d60bc409210ba42429 /arch/arm/mach-at91rm9200/board-dk.c
parent72729910c38ca5b4736032c15dc3f9d48fe4f68a (diff)
[ARM] 3866/1: AT91 clock update
This patch makes the AT91 clock.c support processor-generic (AT91RM9200 and AT91SAM9xxx). The clocks supported by a particular AT91 processor are defined in the processor-specific file and are registered with clock.c at startup. Signed-off-by: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91rm9200/board-dk.c')
-rw-r--r--arch/arm/mach-at91rm9200/board-dk.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-at91rm9200/board-dk.c b/arch/arm/mach-at91rm9200/board-dk.c
index 65873037e02a..23ea9d63b986 100644
--- a/arch/arm/mach-at91rm9200/board-dk.c
+++ b/arch/arm/mach-at91rm9200/board-dk.c
@@ -37,7 +37,6 @@
37#include <asm/mach/map.h> 37#include <asm/mach/map.h>
38#include <asm/mach/irq.h> 38#include <asm/mach/irq.h>
39 39
40#include <asm/hardware.h>
41#include <asm/arch/board.h> 40#include <asm/arch/board.h>
42#include <asm/arch/gpio.h> 41#include <asm/arch/gpio.h>
43 42
@@ -65,10 +64,8 @@ static struct at91_uart_config __initdata dk_uart_config = {
65 64
66static void __init dk_map_io(void) 65static void __init dk_map_io(void)
67{ 66{
68 at91rm9200_map_io(); 67 /* Initialize processor: 18.432 MHz crystal */
69 68 at91rm9200_initialize(18432000);
70 /* Initialize clocks: 18.432 MHz crystal */
71 at91_clock_init(18432000);
72 69
73 /* Setup the LEDs */ 70 /* Setup the LEDs */
74 at91_init_leds(AT91_PIN_PB2, AT91_PIN_PB2); 71 at91_init_leds(AT91_PIN_PB2, AT91_PIN_PB2);