mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
6876609446
clock frequency for INCA-IP; fix problem with board hanging when switching from 150MHz to 100MHz * Add PCMCIA CS support for BMS2003 board
19 lines
834 B
Text
19 lines
834 B
Text
The current implementation allows the user to specify the desired CPU
|
|
clock value, in MHz, via an environment variable "cpuclk".
|
|
|
|
Three compile-time constants are used:
|
|
|
|
CFG_866_OSCCLK - input quartz clock
|
|
CFG_866_CPUCLK_MIN - minimum allowed CPU clock
|
|
CFG_866_CPUCLK_MAX - maximum allowed CPU clock
|
|
CFG_866_CPUCLK_DEFAULT - default CPU clock value
|
|
|
|
If the "cpuclk" environment variable value is within the CPUCLK_MIN /
|
|
CPUCLK_MAX limits, the specified value is used. Otherwise, the
|
|
default CPU clock value is set.
|
|
|
|
Please note that for now the new clock-handling code has been enabled
|
|
for the TQM866M board only, even though it should be pretty much
|
|
common for other MPC859 / MPC866 based boards also. Our intention
|
|
here was to move in small steps and not to break the existing code
|
|
for other boards.
|