sh: tmu: Clean up register usage
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Fri, 24 Aug 2018 19:43:17 +0000 (21:43 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 15 Sep 2018 01:19:07 +0000 (03:19 +0200)
commitf02c1f695e13ee0ce01f111952ceaac094700de1
tree608643742c2c9be1462330d2566f66e1c6bf3788
parent8b39df9e78759c3af07466224c03d9a90d2453ca
sh: tmu: Clean up register usage

The code uses all in all three TMU registers, drop the massive
register layout structures and just define the required timer
registers and use them throughout the code.

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