diff options
author | Thomas Langer <thomas.langer@lantiq.com> | 2015-01-14 18:44:00 +0000 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2015-01-21 14:02:49 +0100 |
commit | a18a477147ce2493ef9ee93b8981b34929fc48a5 (patch) | |
tree | 41725814edaab0549a29e729f703b8f51341298b /include/configs/malta.h | |
parent | e13a50b34bdda624571b4bd49722f38327c02d6a (diff) | |
download | u-boot-imx-a18a477147ce2493ef9ee93b8981b34929fc48a5.zip u-boot-imx-a18a477147ce2493ef9ee93b8981b34929fc48a5.tar.gz u-boot-imx-a18a477147ce2493ef9ee93b8981b34929fc48a5.tar.bz2 |
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>
Diffstat (limited to 'include/configs/malta.h')
0 files changed, 0 insertions, 0 deletions