Timer: Remove reset_timer() for non-Nios2 arches

This commit is contained in:
Graeme Russ
2011-07-15 02:19:44 +00:00
committed by Wolfgang Denk
parent e110c4fe44
commit 4769be21cc
49 changed files with 9 additions and 270 deletions

View File

@@ -95,11 +95,6 @@ void timer_init(void)
timerp->cr = SLT_CR_RUN | SLT_CR_IEN | SLT_CR_TEN;
}
void reset_timer(void)
{
timestamp = 0;
}
ulong get_timer(ulong base)
{
return (timestamp - base);

View File

@@ -116,11 +116,6 @@ void timer_init(void)
DTIM_DTMR_FRR | DTIM_DTMR_ORRI | DTIM_DTMR_RST_EN;
}
void reset_timer(void)
{
timestamp = 0;
}
ulong get_timer(ulong base)
{
return (timestamp - base);