summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2017-04-19 17:05:55 +0800
committerStefano Babic <[email protected]>2017-05-11 12:31:16 +0200
commit0ed02dd68638014d6e810ad1fbecc39269619620 (patch)
tree3c6798ca4389eb9094cb37ffd7839d8ece1fec02
parent0b09bfd524a8c0fda101f09d897d15e24d6a139b (diff)
imx-common: timer: clean up
Drop the unneeded code. lib/time.c use timebase_l/h. Signed-off-by: Peng Fan <[email protected]> Cc: Stefano Babic <[email protected]> Reviewed-by: Stefano Babic <[email protected]>
-rw-r--r--arch/arm/imx-common/timer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/imx-common/timer.c b/arch/arm/imx-common/timer.c
index ee6eff2b28c..9b011147d66 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;
}