u-boot-brain/arch
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
..
arm imx-common: timer: fix 32-bit overflow 2013-03-20 11:36:11 +01:00
avr32 Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
blackfin Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
m68k malloc: make malloc_bin_reloc static 2013-02-19 17:01:26 -05:00
microblaze Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
mips Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
nds32 Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
nios2 Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
openrisc openrisc: Use generic global_data 2013-02-04 09:05:46 -05:00
powerpc Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
sandbox Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
sh Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
sparc malloc: make malloc_bin_reloc static 2013-02-19 17:01:26 -05:00
x86 Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00