arm: imx6: don't reset PFDs that are used by periph_clk
Check if PLL2 PFD0 or PLL2 PFD2 is selected as clock source in
register CCM CBCMR->pre_periph_clk_sel or CCM CBCMR->pre_periph2_clk.
Don't reset the used PFDs to avoid system hang.

ported from https://github.com/Freescale/u-boot-fslc/
commit/9293d7fd502ce29302fadb8b4ccb9231ec0bcc66

Signed-off-by: Marc Ohlf <ohlf@mkt-sys.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a9fb641 commit 78c5b76d4d6dbc68fed99656e90d6803ebd6c345
@Marc Ohlf Marc Ohlf authored on 25 Apr 2018
Sascha Hauer committed on 2 May 2018
Showing 1 changed file
View
arch/arm/mach-imx/imx6.c