diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2021-01-29 16:25:54 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-02-01 11:53:25 +0100 |
commit | fd6b10c4cebc6dfa44c9d6bccc3e8018e7150425 (patch) | |
tree | 505e8dbbfa21ee2b5a64b231f6de4c553a609143 /common | |
parent | 07d2043973088c09b18ff2c7808164c54895a38f (diff) | |
download | barebox-fd6b10c4cebc6dfa44c9d6bccc3e8018e7150425.tar.gz barebox-fd6b10c4cebc6dfa44c9d6bccc3e8018e7150425.tar.xz |
ARM: i.MX8MM: move system counter enabling into imx8mm_cpu_lowlevel_init
Other i.MX8MM boards will likely need this as well, so just move it
into the helper and while at it, rewrite it using
imx8m_ccgr_clock_enable, which is defined as:
void __iomem *ccm = IOMEM(MX8M_CCM_BASE_ADDR);
writel(IMX8M_CCM_CCGR_SETTINGn_NEEDED(0),
ccm + IMX8M_CCM_CCGRn_SET(index));
No functional change.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions