]> git.ipfire.org Git - people/ms/u-boot.git/blame - doc/README.MPC866
Fix variable CPU clock for MPC859/866 systems for low CPU clocks
[people/ms/u-boot.git] / doc / README.MPC866
CommitLineData
68766094
WD
1The current implementation allows the user to specify the desired CPU
2clock value, in MHz, via an environment variable "cpuclk".
3
4Three compile-time constants are used:
5
6 CFG_866_OSCCLK - input quartz clock
7 CFG_866_CPUCLK_MIN - minimum allowed CPU clock
8 CFG_866_CPUCLK_MAX - maximum allowed CPU clock
9 CFG_866_CPUCLK_DEFAULT - default CPU clock value
10
11If the "cpuclk" environment variable value is within the CPUCLK_MIN /
12CPUCLK_MAX limits, the specified value is used. Otherwise, the
13default CPU clock value is set.
14
75d1ea7f
WD
15Please make sure you understand what you are doing, and understand
16the restrictions of your hardware (board, processor). For example,
17ethernet will stop working for CPU clock frequencies below 25 MHz.
18
68766094
WD
19Please note that for now the new clock-handling code has been enabled
20for the TQM866M board only, even though it should be pretty much
21common for other MPC859 / MPC866 based boards also. Our intention
22here was to move in small steps and not to break the existing code
23for other boards.