mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 04:26:19 -04:00
Set the AT91RM9200 clock to asynchronous mode
Patch by Anders Larsen, 03 May 2005
This commit is contained in:
parent
3b9dfddfd8
commit
c0e82d5016
@ -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:
|
|||||||
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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user