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/avr32 | |
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/avr32')
-rw-r--r-- | arch/avr32/cpu/interrupts.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/avr32/cpu/interrupts.c b/arch/avr32/cpu/interrupts.c index 8406f91..6681e13 100644 --- a/arch/avr32/cpu/interrupts.c +++ b/arch/avr32/cpu/interrupts.c @@ -62,13 +62,6 @@ unsigned long long get_ticks(void) return ((unsigned long long)hi_now << 32) | lo; } -void reset_timer(void) -{ - sysreg_write(COUNT, 0); - cpu_sync_pipeline(); /* process any pending interrupts */ - timer_overflow = 0; -} - unsigned long get_timer(unsigned long base) { u64 now = get_ticks(); |