u-boot/arch/arm/imx-common
Knut Wohlrab 982a3c410e imx-common: timer: fix 32-bit overflow
The i.MX6 common timer uses the 32-bit variable tbl (time base lower)
to record the overflow of the 32-bit counter. I.e. if the counter
overflows, the variable tbl does overflow, too.

To capture this overflow, use the variable tbu (time base upper), too.
Return the combined value of tbl and tbu.

lastinc is unused then, remove it.

Signed-off-by: Knut Wohlrab <knut.wohlrab@de.bosch.com>
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Acked-by: Stefano Babic <sbabic@denx.de>
2013-03-20 11:36:11 +01:00
..
cmd_bmode.c common: Convert the U-Boot commands to LG-arrays 2012-10-22 08:29:42 -07:00
cpu.c mx31/mx35/mx51/mx53/mx6: add watchdog 2013-01-13 11:39:57 +01:00
i2c-mxv7.c MX: set a common place to share code for Freescale i.MX 2012-09-10 14:24:29 +02:00
iomux-v3.c i.MX: iomux: input pad array can be const 2012-10-16 12:35:11 +02:00
Makefile imximage.cfg: run files through C preprocessor 2013-01-22 10:20:13 +01:00
speed.c ppc: arm: Move sdhc_clk into arch_global_data 2013-02-04 09:05:44 -05:00
timer.c imx-common: timer: fix 32-bit overflow 2013-03-20 11:36:11 +01:00