Re: [U-Boot] [PATCH] imx-common: timer: fix 32-bit overflow

2013-03-20 Thread Stefano Babic
On 11/03/2013 07:44, Dirk Behme wrote: > On 04.03.2013 15:16, Dirk Behme wrote: >> From: Knut Wohlrab >> >> 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.

Re: [U-Boot] [PATCH] imx-common: timer: fix 32-bit overflow

2013-03-20 Thread Stefano Babic
On 11/03/2013 07:44, Dirk Behme wrote: > On 04.03.2013 15:16, Dirk Behme wrote: >> From: Knut Wohlrab >> >> 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.

Re: [U-Boot] [PATCH] imx-common: timer: fix 32-bit overflow

2013-03-10 Thread Dirk Behme
On 04.03.2013 15:16, Dirk Behme wrote: From: Knut Wohlrab 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

[U-Boot] [PATCH] imx-common: timer: fix 32-bit overflow

2013-03-04 Thread Dirk Behme
From: Knut Wohlrab 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 va