From 8ee6dc05a09744e5a489fb8dc756164bbd1d7dd0 Mon Sep 17 00:00:00 2001 From: Ye Li Date: Tue, 12 Apr 2016 12:24:30 +0800 Subject: MLK-12616-6 mx6ull: Update s_init to skip pfd reset The PFD reset is not needed for mx6ull, since it uses runtime cpu id checking here, add codes to skip it. Signed-off-by: Ye Li (cherry picked from commit 4543971c6078410078efbc830b9fc86363e7bebd) --- arch/arm/cpu/armv7/mx6/soc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index af99b3e..3850e1f 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -738,7 +738,8 @@ void s_init(void) u32 mask528; u32 reg, periph1, periph2; - if (is_cpu_type(MXC_CPU_MX6SX) || is_cpu_type(MXC_CPU_MX6UL)) + if (is_cpu_type(MXC_CPU_MX6SX) || is_cpu_type(MXC_CPU_MX6UL) || + is_cpu_type(MXC_CPU_MX6ULL)) return; /* Due to hardware limitation, on MX6Q we need to gate/ungate all PFDs -- cgit v1.1