205ad548a7
DT-enabled kernel should have a CPU node connected to a clock. This clock is the CCOUNT clock. Use old platform_calibrate_ccount call as a fallback when CPU node cannot be found or has no clock and in non-DT-enabled configurations. Drop no longer needed code that updates CPU clock-frequency property in the DT; drop DT-related code from the platform_calibrate_ccount too. Move of_clk_init to the top of time_init, so that clocks are initialized before CCOUNT calibration is attempted. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> |
||
---|---|---|
.. | ||
Makefile | ||
csp.dts | ||
kc705.dts | ||
kc705_nommu.dts | ||
lx60.dts | ||
lx200mx.dts | ||
ml605.dts | ||
xtfpga-flash-4m.dtsi | ||
xtfpga-flash-16m.dtsi | ||
xtfpga-flash-128m.dtsi | ||
xtfpga.dtsi |