From 3b9dfddfd8fc7d6639e6d746774ca7af77dfd881 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Wed, 5 Oct 2005 02:02:25 +0200 Subject: Set the AT91RM9200 clock to synchronous mode Patch by Anders Larsen, 29 Apr 2005 --- cpu/arm920t/at91rm9200/lowlevel_init.S | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpu/arm920t/at91rm9200/lowlevel_init.S') diff --git a/cpu/arm920t/at91rm9200/lowlevel_init.S b/cpu/arm920t/at91rm9200/lowlevel_init.S index 05887adc0c..6941d42dff 100644 --- a/cpu/arm920t/at91rm9200/lowlevel_init.S +++ b/cpu/arm920t/at91rm9200/lowlevel_init.S @@ -123,6 +123,11 @@ LoopOsc: cmp r2, r0 bne 2b + /* switch from FastBus to Synchronous clock mode */ + mrc p15, 0, r0, c1, c0, 0 + orr r0, r0, #0x40000000 @ set bit 30 (nF) notFastBus + mcr p15, 0, r0, c1, c0, 0 + /* everything is fine now */ mov pc, lr -- cgit