u-boot/arch/mips/cpu/mips32
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
..
au1x00 include: move various macros to include/linux/kernel.h 2014-11-20 11:28:25 -05:00
cache.S mips32: detect L1 cache sizes if they're not defined 2013-11-09 17:21:01 +01:00
config.mk MIPS: refactor setting of compiler options 2014-11-01 18:18:05 +01:00
cpu.c mips32: detect L1 cache sizes if they're not defined 2013-11-09 17:21:01 +01:00
interrupts.c MIPS: stub interrupt_init function 2014-04-20 13:16:42 +02:00
Makefile kbuild: use SoC-specific CONFIG to descend into SoC directory 2014-11-23 06:49:02 -05: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