From: Peng Fan Date: Wed, 19 Apr 2017 09:05:55 +0000 (+0800) Subject: imx-common: timer: clean up X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=0ed02dd68638014d6e810ad1fbecc39269619620;p=u-boot.git 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 --- 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; }