From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peng Fan Date: Thu, 11 Aug 2016 14:02:43 +0800 Subject: [U-Boot] [PATCH 07/21] imx: mx6ull: skip setting ahb clock In-Reply-To: <1470895377-2502-1-git-send-email-peng.fan@nxp.com> References: <1470895377-2502-1-git-send-email-peng.fan@nxp.com> Message-ID: <1470895377-2502-8-git-send-email-peng.fan@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Rom already initialized clock at 396M and 132M for arm core and ahb, so skip setting them again in U-Boot. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/cpu/armv7/mx6/soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index 88fcfdc..af7fca5 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -343,7 +343,7 @@ int arch_cpu_init(void) */ init_bandgap(); - if (!IS_ENABLED(CONFIG_MX6UL)) { + if (!is_mx6ul() && !is_mx6ull()) { /* * When low freq boot is enabled, ROM will not set AHB * freq, so we need to ensure AHB freq is 132MHz in such -- 2.6.2