From 4769be21cca65f1e7bef27bc024d886842bc6bad Mon Sep 17 00:00:00 2001 From: Graeme Russ Date: Fri, 15 Jul 2011 02:19:44 +0000 Subject: Timer: Remove reset_timer() for non-Nios2 arches --- board/armltd/integrator/timer.c | 5 ----- board/armltd/vexpress/ca9x4_ct_vxp.c | 5 ----- board/nvidia/common/board.c | 1 - 3 files changed, 11 deletions(-) (limited to 'board') diff --git a/board/armltd/integrator/timer.c b/board/armltd/integrator/timer.c index 5406066d151..6734e8db3f6 100644 --- a/board/armltd/integrator/timer.c +++ b/board/armltd/integrator/timer.c @@ -107,11 +107,6 @@ int timer_init (void) /* * timer without interrupts */ -void reset_timer (void) -{ - reset_timer_masked (); -} - ulong get_timer (ulong base_ticks) { return get_timer_masked () - base_ticks; diff --git a/board/armltd/vexpress/ca9x4_ct_vxp.c b/board/armltd/vexpress/ca9x4_ct_vxp.c index 6e5884b204e..da6f14d9888 100644 --- a/board/armltd/vexpress/ca9x4_ct_vxp.c +++ b/board/armltd/vexpress/ca9x4_ct_vxp.c @@ -199,11 +199,6 @@ void reset_timer_masked(void) timestamp = 0; } -void reset_timer(void) -{ - reset_timer_masked(); -} - ulong get_timer_masked(void) { ulong now = readl(&systimer_base->timer0value) / 1000; diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index 627e061798f..8ab94404d12 100644 --- a/board/nvidia/common/board.c +++ b/board/nvidia/common/board.c @@ -66,7 +66,6 @@ int board_early_init_f(void) */ int timer_init(void) { - reset_timer(); return 0; } -- cgit v1.3.1