Skip to content
Snippets Groups Projects
Commit c0e82d50 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Set the AT91RM9200 clock to asynchronous mode

Patch by Anders Larsen, 03 May 2005
parent 3b9dfddf
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
Changes for U-Boot 1.1.4: 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 * Set the AT91RM9200 clock to synchronous mode
Patch by Anders Larsen, 29 Apr 2005 Patch by Anders Larsen, 29 Apr 2005
......
...@@ -123,9 +123,9 @@ LoopOsc: ...@@ -123,9 +123,9 @@ LoopOsc:
cmp r2, r0 cmp r2, r0
bne 2b bne 2b
/* switch from FastBus to Synchronous clock mode */ /* switch from FastBus to Asynchronous clock mode */
mrc p15, 0, r0, c1, c0, 0 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 mcr p15, 0, r0, c1, c0, 0
/* everything is fine now */ /* everything is fine now */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment