From 2096da452b32c7fc52e9fbd6c38e874ce635d664 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Wed, 19 Apr 2017 17:05:55 +0800 Subject: [PATCH] imx-common: timer: clean up Drop the unneeded code. lib/time.c use timebase_l/h. Signed-off-by: Peng Fan Cc: Stefano Babic Reviewed-by: Stefano Babic --- arch/arm/imx-common/timer.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/imx-common/timer.c b/arch/arm/imx-common/timer.c index ee6eff2b28..9b011147d6 100644 --- a/arch/arm/imx-common/timer.c +++ b/arch/arm/imx-common/timer.c @@ -105,9 +105,6 @@ int timer_init(void) #endif __raw_writel(i, &cur_gpt->control); - gd->arch.tbl = __raw_readl(&cur_gpt->counter); - gd->arch.tbu = 0; - return 0; }