[U-Boot] [PATCH 04/14] power, timer: reset TBL before TBU

Wolfgang Denk wd at denx.de
Wed Jul 12 13:00:44 UTC 2017


Dear Christophe Leroy,

In message <ce88a7347bdc84fa4658e0ddbd3214d887d6a658.1499629706.git.christophe.leroy at c-s.fr> you wrote:
> In order to avoid TBU increment due to TBL reaching its max
> and wrapping, reset TBL before resetting TBU
> 
> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>
> ---
>  arch/powerpc/lib/time.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
Reviewed-by: Wolfgang Denk <wd at denx.de>

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
How many seconds are there in a year? If I tell you there are 3.155 x
10^7, you won't even try to remember it. On the other hand, who could
forget that, to within half a percent, pi seconds is a nanocentury.
                                                - Tom Duff, Bell Labs


More information about the U-Boot mailing list