summaryrefslogtreecommitdiff
path: root/cpu/arm920t/at91rm9200/lowlevel_init.S
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/arm920t/at91rm9200/lowlevel_init.S')
-rw-r--r--cpu/arm920t/at91rm9200/lowlevel_init.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpu/arm920t/at91rm9200/lowlevel_init.S b/cpu/arm920t/at91rm9200/lowlevel_init.S
index 05887adc0c..1902bd02c5 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 Asynchronous clock mode */
+ mrc p15, 0, r0, c1, c0, 0
+ orr r0, r0, #0xC0000000 @ set bit 31 (iA) and 30 (nF)
+ mcr p15, 0, r0, c1, c0, 0
+
/* everything is fine now */
mov pc, lr