kernel-fxtec-pro1x/arch/xtensa/boot
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
..
boot-elf xtensa: cleanup MMU setup and kernel layout macros 2016-07-24 06:33:58 +03:00
boot-redboot xtensa: fix redboot load address 2013-05-09 01:07:12 -07:00
boot-uboot xtensa: cleanup MMU setup and kernel layout macros 2016-07-24 06:33:58 +03:00
dts xtensa: rearrange CCOUNT calibration 2016-09-20 18:52:59 -07:00
lib xtensa: add static function tracer support 2013-07-08 01:18:57 -07:00
.gitignore xtensa: tell git to ignore generated .dtb files 2013-07-08 01:18:55 -07:00
Makefile xtensa: don't use echo -e needlessly 2013-09-06 09:48:29 -07:00