Set the AT91RM9200 clock to synchronous mode

Patch by Anders Larsen, 29 Apr 2005
This commit is contained in:
Wolfgang Denk 2005-10-05 02:02:25 +02:00
parent 645da51097
commit 3b9dfddfd8
2 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,9 @@
Changes for U-Boot 1.1.4:
======================================================================
* Set the AT91RM9200 clock to synchronous mode
Patch by Anders Larsen, 29 Apr 2005
* Add support for Cogent csb637
Patch by Anders Larsen, 29 Apr 2005

View File

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