imx8m: soc: enable SCTR clock before timer init
authorPeng Fan <peng.fan@nxp.com>
Tue, 27 Aug 2019 06:25:37 +0000 (06:25 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:36:36 +0000 (16:36 +0200)
commit0528ba0e1c4f879278d597b1aeaf1bf31a943f75
treecf76ca46717096a3a3baf1f556096d6ce7903c1a
parentb3cf0a8f03d162e030cde1131751d060853e16fc
imx8m: soc: enable SCTR clock before timer init

To i.MX8MM SCTR clock is disabled by ROM, so before timer init
need to enable it.
To i.MX8MQ, it does not hurt the clock is enabled again.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8m/soc.c