metag: Time keeping
Add time keeping code for metag. Meta hardware threads have 2 timers.
The background timer (TXTIMER) is used as a free-running time base, and
the interrupt timer (TXTIMERI) is used for the timer interrupt. Both
counters traditionally count at approximately 1MHz.
Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
Cc: John Stultz <johnstul@us.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Showing
arch/metag/include/asm/clock.h
0 → 100644
arch/metag/include/asm/delay.h
0 → 100644
arch/metag/kernel/clock.c
0 → 100644
arch/metag/kernel/time.c
0 → 100644
想要评论请 注册 或 登录