summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-10-05 02:06:08 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-10-05 02:06:08 +0200
commitc0e82d5016924b446bd5542045854aa0e109fe80 (patch)
tree25f32c44a0d9c90ec0c6ece523e81e68fcb99a65
parent3b9dfddfd8fc7d6639e6d746774ca7af77dfd881 (diff)
downloadu-boot-imx-c0e82d5016924b446bd5542045854aa0e109fe80.zip
u-boot-imx-c0e82d5016924b446bd5542045854aa0e109fe80.tar.gz
u-boot-imx-c0e82d5016924b446bd5542045854aa0e109fe80.tar.bz2
Set the AT91RM9200 clock to asynchronous mode
Patch by Anders Larsen, 03 May 2005
-rw-r--r--CHANGELOG3
-rw-r--r--cpu/arm920t/at91rm9200/lowlevel_init.S4
2 files changed, 5 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 8c63cde..48049da 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,9 @@
Changes for U-Boot 1.1.4:
======================================================================
+* Set the AT91RM9200 clock to asynchronous mode
+ Patch by Anders Larsen, 03 May 2005
+
* Set the AT91RM9200 clock to synchronous mode
Patch by Anders Larsen, 29 Apr 2005
diff --git a/cpu/arm920t/at91rm9200/lowlevel_init.S b/cpu/arm920t/at91rm9200/lowlevel_init.S
index 6941d42..1902bd0 100644
--- a/cpu/arm920t/at91rm9200/lowlevel_init.S
+++ b/cpu/arm920t/at91rm9200/lowlevel_init.S
@@ -123,9 +123,9 @@ LoopOsc:
cmp r2, r0
bne 2b
- /* switch from FastBus to Synchronous clock mode */
+ /* switch from FastBus to Asynchronous clock mode */
mrc p15, 0, r0, c1, c0, 0
- orr r0, r0, #0x40000000 @ set bit 30 (nF) notFastBus
+ orr r0, r0, #0xC0000000 @ set bit 31 (iA) and 30 (nF)
mcr p15, 0, r0, c1, c0, 0
/* everything is fine now */