mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
Timer: Remove reset_timer() for non-Nios2 arches
This commit is contained in:
parent
e110c4fe44
commit
4769be21cc
49 changed files with 9 additions and 270 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue