summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2011-07-15 02:19:44 +0000
committerWolfgang Denk <wd@denx.de>2011-07-26 14:53:30 +0200
commit4769be21cca65f1e7bef27bc024d886842bc6bad (patch)
tree47053c2ed79e6e43b1b6fd49b585fe53028ff6a5 /board
parente110c4fe44edc34addee4839a1d20c0fbb076ad4 (diff)
downloadu-boot-imx-4769be21cca65f1e7bef27bc024d886842bc6bad.zip
u-boot-imx-4769be21cca65f1e7bef27bc024d886842bc6bad.tar.gz
u-boot-imx-4769be21cca65f1e7bef27bc024d886842bc6bad.tar.bz2
Timer: Remove reset_timer() for non-Nios2 arches
Diffstat (limited to 'board')
-rw-r--r--board/armltd/integrator/timer.c5
-rw-r--r--board/armltd/vexpress/ca9x4_ct_vxp.c5
-rw-r--r--board/nvidia/common/board.c1
3 files changed, 0 insertions, 11 deletions
diff --git a/board/armltd/integrator/timer.c b/board/armltd/integrator/timer.c
index 5406066..6734e8d 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 6e5884b..da6f14d 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 627e061..8ab9440 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;
}