From: Fabio Estevam Date: Wed, 9 Jul 2014 19:13:29 +0000 (-0300) Subject: mx6: soc: Do not apply the PFD erratum for mx6solox X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a3df99b50f759794df9ee13f3a371954eb6b761b;p=project%2Fbcm63xx%2Fu-boot.git mx6: soc: Do not apply the PFD erratum for mx6solox The PFD issue is not present on mx6solox, so skip it in this case. Signed-off-by: Fabio Estevam --- diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index 2012caf2e7..f2dee76941 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -337,6 +337,10 @@ void s_init(void) u32 mask480; u32 mask528; + + if (is_cpu_type(MXC_CPU_MX6SX)) + return; + /* Due to hardware limitation, on MX6Q we need to gate/ungate all PFDs * to make sure PFD is working right, otherwise, PFDs may * not output clock after reset, MX6DL and MX6SL have added 396M pfd