]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit2a532e4d6079124882f9ca92e7f7aecddbfc81f3
tree1100e9cc334c2b7dc347cb6c9921a96bea3a852f
parent32753cdf705cfaeb3102c728588e2c3c41ac7b93
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