]> git.dujemihanovic.xyz Git - u-boot.git/commit
power, timer: reset TBL before TBU
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 13 Jul 2017 13:09:50 +0000 (15:09 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 23 Jul 2017 02:22:48 +0000 (22:22 -0400)
commitf0eda3cb89813c49d90fec7ee5fa69d3fe3d6daa
tree5aa0b7482b3acc9249d5cff335a065b1ba8fe58a
parent93e85d02b21cdcd431df2237b883218f5c4059af
power, timer: reset TBL before TBU

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@c-s.fr>
arch/powerpc/lib/time.c