Set the AT91RM9200 clock to asynchronous mode

Patch by Anders Larsen, 03 May 2005
This commit is contained in:
Wolfgang Denk 2005-10-05 02:06:08 +02:00
parent 3b9dfddfd8
commit c0e82d5016
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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 */