sh: tmu: Simplify the tmu_bit math
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Fri, 24 Aug 2018 19:20:31 +0000 (21:20 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 15 Sep 2018 01:19:07 +0000 (03:19 +0200)
commiteb05dcfea29bbafbc9f8ce3b7894e3e53f35d743
tree1100e9cc334c2b7dc347cb6c9921a96bea3a852f
parentd1da5d6cd8d33f777cf8374bf070970c4cca32e1
sh: tmu: Simplify the tmu_bit math

The tmu_bit value evaluates to (ffs(4) >> 1) - 1 = (3 >> 1) - 1 = 0.
Just drop the tmu_bit completely as well as CONFIG_SYS_TMU_CLK_DIV.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
arch/sh/lib/time.c