summaryrefslogtreecommitdiff
path: root/include/configs/rsdproto.h
diff options
context:
space:
mode:
authorKnut Wohlrab <knut.wohlrab@de.bosch.com>2013-03-04 04:16:02 +0000
committerStefano Babic <sbabic@denx.de>2013-03-20 11:36:11 +0100
commit982a3c410e21f2f7e5fee22c7fd788fc7ef7fdf9 (patch)
treecd2ea4e5f0a36010f09206c07de6dfc62784dcd7 /include/configs/rsdproto.h
parent40f1daa0b797e9db7413cf477637ba8d31cbb2d7 (diff)
downloadu-boot-imx-982a3c410e21f2f7e5fee22c7fd788fc7ef7fdf9.zip
u-boot-imx-982a3c410e21f2f7e5fee22c7fd788fc7ef7fdf9.tar.gz
u-boot-imx-982a3c410e21f2f7e5fee22c7fd788fc7ef7fdf9.tar.bz2
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>
Diffstat (limited to 'include/configs/rsdproto.h')
0 files changed, 0 insertions, 0 deletions