commit | a2c5d4ed92bbc02ff4a37efc2adffe7d145abe4f | [log] [tgz] |
---|---|---|
author | James Hogan <james.hogan@imgtec.com> | Tue Oct 09 10:54:39 2012 +0100 |
committer | James Hogan <james.hogan@imgtec.com> | Sat Mar 02 20:09:22 2013 +0000 |
tree | 21fc65e4f0b04928025565f208a410a7a64ab523 | |
parent | bc3966bf1583a6c22b76397535174445c43952de [diff] |
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: James Hogan <james.hogan@imgtec.com> Cc: John Stultz <johnstul@us.ibm.com> Cc: Thomas Gleixner <tglx@linutronix.de>