alistair23-linux/arch/xtensa/platforms/xtfpga
Max Filippov 205ad548a7 xtensa: rearrange CCOUNT calibration
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>
2016-09-20 18:52:59 -07:00
..
include/platform xtensa: xtfpga: fix integer overflow in TASK_SIZE 2015-11-02 18:02:55 +03:00
lcd.c xtensa: xtfpga: fix hardware lockup caused by LCD driver 2015-02-27 07:55:29 +03:00
Makefile xtensa: xtfpga: fix hardware lockup caused by LCD driver 2015-02-27 07:55:29 +03:00
setup.c xtensa: rearrange CCOUNT calibration 2016-09-20 18:52:59 -07:00