]> git.baikalelectronics.ru Git - uboot.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)
commit5c35b864fe1d7bddfc12d0c601e11c42d1880fd7
tree5aa0b7482b3acc9249d5cff335a065b1ba8fe58a
parentfc75fc8cd21403ae4d13a46585fa9ae92e2e7894
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