summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm1176/tnetv107x
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 /arch/arm/cpu/arm1176/tnetv107x
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 'arch/arm/cpu/arm1176/tnetv107x')
-rw-r--r--arch/arm/cpu/arm1176/tnetv107x/timer.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/cpu/arm1176/tnetv107x/timer.c b/arch/arm/cpu/arm1176/tnetv107x/timer.c
index c27375c..b3123c5 100644
--- a/arch/arm/cpu/arm1176/tnetv107x/timer.c
+++ b/arch/arm/cpu/arm1176/tnetv107x/timer.c
@@ -60,15 +60,6 @@ int timer_init(void)
return 0;
}
-void reset_timer(void)
-{
- lastinc = timestamp = 0;
-
- __raw_writel(0, &regs->tcr);
- __raw_writel(0, &regs->tim34);
- __raw_writel(2 << 22, &regs->tcr);
-}
-
static ulong get_timer_raw(void)
{
ulong now = __raw_readl(&regs->tim34);