u-boot-brain/arch/arm
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
..
cpu mxs: spl_mem_init: Align DDR2 init with FSL bootlets source 2013-03-20 11:05:32 +01:00
dts Tegra114: fdt: Move aliases from dtsi to dts file as per other Tegras 2013-03-14 11:49:07 -07:00
imx-common imx-common: timer: fix 32-bit overflow 2013-03-20 11:36:11 +01:00
include/asm Merge branch 'u-boot-tegra/master' into 'u-boot-arm/master' 2013-03-15 20:50:43 +01:00
lib arm: make __bss_start and __bss_end__ compiler-generated 2013-03-12 23:28:32 +01:00
config.mk arm: work around assembler bug 2012-10-04 14:19:04 +02:00