diff options
author | Andrew Victor <andrew@sanpeople.com> | 2006-09-27 05:50:59 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-09-28 06:52:06 -0400 |
commit | 2eeaaa21de68cb8869d3a54438a9224321d3dd03 (patch) | |
tree | 3d81cac00241b7a4239497d60bc409210ba42429 /arch/arm/mach-at91rm9200/board-kb9202.c | |
parent | 72729910c38ca5b4736032c15dc3f9d48fe4f68a (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-kb9202.c')
-rw-r--r-- | arch/arm/mach-at91rm9200/board-kb9202.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-at91rm9200/board-kb9202.c b/arch/arm/mach-at91rm9200/board-kb9202.c index f06d2b54cc9a..935238ffa330 100644 --- a/arch/arm/mach-at91rm9200/board-kb9202.c +++ b/arch/arm/mach-at91rm9200/board-kb9202.c | |||
@@ -35,7 +35,6 @@ | |||
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 | ||
@@ -63,10 +62,8 @@ static struct at91_uart_config __initdata kb9202_uart_config = { | |||
63 | 62 | ||
64 | static void __init kb9202_map_io(void) | 63 | static void __init kb9202_map_io(void) |
65 | { | 64 | { |
66 | at91rm9200_map_io(); | 65 | /* Initialize processor: 10 MHz crystal */ |
67 | 66 | at91rm9200_initialize(10000000); | |
68 | /* Initialize clocks: 10 MHz crystal */ | ||
69 | at91_clock_init(10000000); | ||
70 | 67 | ||
71 | /* Set up the LEDs */ | 68 | /* Set up the LEDs */ |
72 | at91_init_leds(AT91_PIN_PC19, AT91_PIN_PC18); | 69 | at91_init_leds(AT91_PIN_PC19, AT91_PIN_PC18); |