add csb637 (at91rm9200) support
PATCH 4/4 add csb637 (at91rm9200) support
Hi,
this patch switches the at91rm9200 to synchronous clock mode after initialization (it would otherwise stay in FastBus mode which is the _slowest_ clock mode).
This lets the core run at full speed when not doing bus accesses, increasing overall performance by a factor of four.
Changelog:
* patch by Anders Larsen, 2004-04-29
set the at91rm9200 clock to synchronous mode
Cheers
Anders
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clock_mode.diff
Type: application/octet-stream
Size: 556 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050429/42a76962/attachment.obj
PATCH 4/4 add csb637 (at91rm9200) support
Anders,
Quoted 3 lines
this patch switches the at91rm9200 to synchronous clock mode after initialization (it would otherwise stay in FastBus mode which is the _slowest_ clock mode).
But I thought FastBus mode is the prefered setting for ARM cpus.
--
Steven
PATCH 4/4 add csb637 (at91rm9200) support
Steven Scholz <[email protected]> schreibt:
Quoted 5 lines
Quoted 3 lines
this patch switches the at91rm9200 to synchronous clock mode after initialization (it would otherwise stay in FastBus mode which is the _slowest_ clock mode).
But I thought FastBus mode is the prefered setting for ARM cpus.
Hi Steven,
FastBus is the default after reset but is not intended for normal operation.
Quote from the ARM920T Technical Reference Manual (ARM DDI 0151C):
"On reset, the ARM920T is put into FastBus mode and operates using BCLK.
A typical use for FastBus mode is to execute startup code while configuring a PLL under software control to produce FCLK at a higher frequency. When the PLL has stabilized and locked, you can switch the ARM920T to synchronous or asynchronous clocking using FCLK for normal operation."
Cheers
Anders
PATCH 4/4 add csb637 (at91rm9200) support
In reply to Anders LarsenQuoted 4 lines · In message <[email protected]> you wrote:
Changelog:
* patch by Anders Larsen, 2004-04-29
set the at91rm9200 clock to synchronous mode
Added, thanks.
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Real programmers don't comment their code. It was hard to write, it should be hard to understand.