diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2011-07-15 02:18:12 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-07-26 14:52:17 +0200 |
commit | 5c8404aff16c2a207a11e1af5843e1009bf9fb01 (patch) | |
tree | 65d07a585508bf1dab4ddabf2768e44fb43d6f1f /arch/sparc | |
parent | dcac25a05e2bdf35be1e13c432d238007d1c3b9f (diff) | |
download | u-boot-imx-5c8404aff16c2a207a11e1af5843e1009bf9fb01.zip u-boot-imx-5c8404aff16c2a207a11e1af5843e1009bf9fb01.tar.gz u-boot-imx-5c8404aff16c2a207a11e1af5843e1009bf9fb01.tar.bz2 |
Timer: Remove set_timer completely
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/lib/board.c | 2 | ||||
-rw-r--r-- | arch/sparc/lib/interrupts.c | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/arch/sparc/lib/board.c b/arch/sparc/lib/board.c index 386cd04..6b705e5 100644 --- a/arch/sparc/lib/board.c +++ b/arch/sparc/lib/board.c @@ -365,8 +365,6 @@ void board_init_f(ulong bootflag) udelay(20); - set_timer(0); - /* Initialize from environment */ if ((s = getenv("loadaddr")) != NULL) { load_addr = simple_strtoul(s, NULL, 16); diff --git a/arch/sparc/lib/interrupts.c b/arch/sparc/lib/interrupts.c index 4c73b82..5274311 100644 --- a/arch/sparc/lib/interrupts.c +++ b/arch/sparc/lib/interrupts.c @@ -100,11 +100,6 @@ ulong get_timer(ulong base) return (timestamp - base); } -void set_timer(ulong t) -{ - timestamp = t; -} - void timer_interrupt_init(void) { int irq; |