projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b09bfd
)
imx-common: timer: clean up
author
Peng Fan
<peng.fan@nxp.com>
Wed, 19 Apr 2017 09:05:55 +0000
(17:05 +0800)
committer
Stefano Babic
<sbabic@denx.de>
Thu, 11 May 2017 10:31:16 +0000
(12:31 +0200)
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>
arch/arm/imx-common/timer.c
patch
|
blob
|
history
diff --git
a/arch/arm/imx-common/timer.c
b/arch/arm/imx-common/timer.c
index ee6eff2b28cada0fca04044a90873246d879454f..9b011147d66861ccc8c9d2188a8de9536522901b 100644
(file)
--- 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;
}