u-boot/arch/mips/cpu/mips64
Thomas Langer a18a477147 MIPS: use common code from lib/time.c
The common code just needs the C0_COUNT as free running counter,
without the need of writing and checking C0_COMPARE.

The function get_tbclk() is still implemented here instead of changing
all places of CONFIG_SYS_MIPS_TIMER_FREQ to CONFIG_SYS_TIMER_RATE.

The change was tested on a MIPS32 system, but as the MIPS64 code
was/is the same, this should be no problem.

Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
2015-01-21 14:02:49 +01:00
..
cache.S Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
config.mk MIPS: refactor setting of compiler options 2014-11-01 18:18:05 +01:00
cpu.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
interrupts.c MIPS: stub interrupt_init function 2014-04-20 13:16:42 +02:00
Makefile mips: convert makefiles to Kbuild style 2013-10-31 13:26:45 -04:00
start.S MIPS: fix setup of initial stack frame 2014-11-27 16:20:37 +01:00
time.c MIPS: use common code from lib/time.c 2015-01-21 14:02:49 +01:00