diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2011-07-15 02:19:44 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-07-26 14:53:30 +0200 |
commit | 4769be21cca65f1e7bef27bc024d886842bc6bad (patch) | |
tree | 47053c2ed79e6e43b1b6fd49b585fe53028ff6a5 /arch/m68k | |
parent | e110c4fe44edc34addee4839a1d20c0fbb076ad4 (diff) | |
download | u-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 'arch/m68k')
-rw-r--r-- | arch/m68k/cpu/mcf547x_8x/slicetimer.c | 5 | ||||
-rw-r--r-- | arch/m68k/lib/time.c | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/arch/m68k/cpu/mcf547x_8x/slicetimer.c b/arch/m68k/cpu/mcf547x_8x/slicetimer.c index 49dba6a..467a807 100644 --- a/arch/m68k/cpu/mcf547x_8x/slicetimer.c +++ b/arch/m68k/cpu/mcf547x_8x/slicetimer.c @@ -95,11 +95,6 @@ void timer_init(void) timerp->cr = SLT_CR_RUN | SLT_CR_IEN | SLT_CR_TEN; } -void reset_timer(void) -{ - timestamp = 0; -} - ulong get_timer(ulong base) { return (timestamp - base); diff --git a/arch/m68k/lib/time.c b/arch/m68k/lib/time.c index d10bcc7..a316cdf 100644 --- a/arch/m68k/lib/time.c +++ b/arch/m68k/lib/time.c @@ -116,11 +116,6 @@ void timer_init(void) DTIM_DTMR_FRR | DTIM_DTMR_ORRI | DTIM_DTMR_RST_EN; } -void reset_timer(void) -{ - timestamp = 0; -} - ulong get_timer(ulong base) { return (timestamp - base); |