From 5c8404aff16c2a207a11e1af5843e1009bf9fb01 Mon Sep 17 00:00:00 2001 From: Graeme Russ Date: Fri, 15 Jul 2011 02:18:12 +0000 Subject: Timer: Remove set_timer completely --- arch/x86/lib/board.c | 2 -- arch/x86/lib/timer.c | 5 ----- 2 files changed, 7 deletions(-) (limited to 'arch/x86/lib') diff --git a/arch/x86/lib/board.c b/arch/x86/lib/board.c index df54222..c92291b 100644 --- a/arch/x86/lib/board.c +++ b/arch/x86/lib/board.c @@ -363,8 +363,6 @@ void board_init_r(gd_t *id, ulong dest_addr) udelay(20); - set_timer (0); - /* Initialize from environment */ if ((s = getenv ("loadaddr")) != NULL) { load_addr = simple_strtoul (s, NULL, 16); diff --git a/arch/x86/lib/timer.c b/arch/x86/lib/timer.c index 8fc68cd..199ca8e 100644 --- a/arch/x86/lib/timer.c +++ b/arch/x86/lib/timer.c @@ -103,8 +103,3 @@ ulong get_timer (ulong base) { return (system_ticks - base); } - -void set_timer (ulong t) -{ - system_ticks = t; -} -- cgit v1.1