diff options
| author | Peng Fan <[email protected]> | 2017-04-19 17:05:55 +0800 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2017-05-11 12:31:16 +0200 |
| commit | 0ed02dd68638014d6e810ad1fbecc39269619620 (patch) | |
| tree | 3c6798ca4389eb9094cb37ffd7839d8ece1fec02 | |
| parent | 0b09bfd524a8c0fda101f09d897d15e24d6a139b (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.c | 3 |
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; } |
