mirror of
https://xff.cz/git/u-boot/
synced 2025-10-31 18:35:42 +01:00
Timer: Remove reset_timer() for non-Nios2 arches
This commit is contained in:
committed by
Wolfgang Denk
parent
e110c4fe44
commit
4769be21cc
@@ -90,11 +90,6 @@ void timer_interrupt(struct pt_regs *regs)
|
||||
timestamp++;
|
||||
}
|
||||
|
||||
void reset_timer(void)
|
||||
{
|
||||
timestamp = 0;
|
||||
}
|
||||
|
||||
ulong get_timer(ulong base)
|
||||
{
|
||||
return (timestamp - base);
|
||||
@@ -104,7 +99,7 @@ void timer_interrupt_init(void)
|
||||
{
|
||||
int irq;
|
||||
|
||||
reset_timer();
|
||||
timestamp = 0;
|
||||
|
||||
irq = timer_interrupt_init_cpu();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user