mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-26 13:03:40 +00:00
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>
This commit is contained in:
parent
0b09bfd524
commit
0ed02dd686
1 changed files with 0 additions and 3 deletions
|
@ -105,9 +105,6 @@ int timer_init(void)
|
||||||
#endif
|
#endif
|
||||||
__raw_writel(i, &cur_gpt->control);
|
__raw_writel(i, &cur_gpt->control);
|
||||||
|
|
||||||
gd->arch.tbl = __raw_readl(&cur_gpt->counter);
|
|
||||||
gd->arch.tbu = 0;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue