summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91rm9200/board-csb337.c
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2006-09-27 10:50:59 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-09-28 11:52:06 +0100
commit2eeaaa21de68cb8869d3a54438a9224321d3dd03 (patch)
tree3d81cac00241b7a4239497d60bc409210ba42429 /arch/arm/mach-at91rm9200/board-csb337.c
parent72729910c38ca5b4736032c15dc3f9d48fe4f68a (diff)
downloadtalos-obmc-linux-2eeaaa21de68cb8869d3a54438a9224321d3dd03.tar.gz
talos-obmc-linux-2eeaaa21de68cb8869d3a54438a9224321d3dd03.zip
[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-csb337.c')
-rw-r--r--arch/arm/mach-at91rm9200/board-csb337.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-at91rm9200/board-csb337.c b/arch/arm/mach-at91rm9200/board-csb337.c
index 794d3fbb449b..f74b483329c0 100644
--- a/arch/arm/mach-at91rm9200/board-csb337.c
+++ b/arch/arm/mach-at91rm9200/board-csb337.c
@@ -34,7 +34,6 @@
#include <asm/mach/map.h>
#include <asm/mach/irq.h>
-#include <asm/hardware.h>
#include <asm/arch/board.h>
#include <asm/arch/gpio.h>
@@ -62,10 +61,8 @@ static struct at91_uart_config __initdata csb337_uart_config = {
static void __init csb337_map_io(void)
{
- at91rm9200_map_io();
-
- /* Initialize clocks: 3.6864 MHz crystal */
- at91_clock_init(3686400);
+ /* Initialize processor: 3.6864 MHz crystal */
+ at91rm9200_initialize(3686400);
/* Setup the LEDs */
at91_init_leds(AT91_PIN_PB0, AT91_PIN_PB1);
OpenPOWER on IntegriCloud