diff options
author | Peng Fan <peng.fan@nxp.com> | 2017-04-19 17:05:55 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-05-18 11:23:31 +0200 |
commit | 2096da452b32c7fc52e9fbd6c38e874ce635d664 (patch) | |
tree | b6ee36f93bc89b383d68b8c247ba13556caf59de /arch | |
parent | 9e408a39b4ee3d1ea9054dd6429155df8cd00706 (diff) | |
download | u-boot-2096da452b32c7fc52e9fbd6c38e874ce635d664.tar.gz u-boot-2096da452b32c7fc52e9fbd6c38e874ce635d664.tar.bz2 u-boot-2096da452b32c7fc52e9fbd6c38e874ce635d664.zip |
imx-common: timer: clean up
Drop the unneeded code. lib/time.c use timebase_l/h.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch')
-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 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; } |