Skip to contentSkip to conversation

armv8: fsl-layerscape: don't reconfigure QSPI clock when booting from QSPI

PATCH New Gong Qianyu 2 participants 2 messages Mar 16, 2016 – Mar 29, 2016 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 armv8: fsl-layerscape: don't reconfigure QSPI clock when booting from QSPI

It has set the qspi_cfg register earlier through PBI when booting from QSPI. We'd better not change it.

---
 arch/arm/cpu/armv8/fsl-layerscape/soc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/cpu/armv8/fsl-layerscape/soc.c +1 -1
index 213ce3a..bf04742 100644
@@ -240,7 +240,7 @@ void fsl_lsch2_early_init_f(void)
 	init_early_memctl_regs();	/* tighten IFC timing */
 #endif
 
-#ifdef CONFIG_FSL_QSPI
+#if defined(CONFIG_FSL_QSPI) && !defined(CONFIG_QSPI_BOOT)
 	out_be32(&scfg->qspi_cfg, SCFG_QSPI_CLKSEL);
 #endif
 	/* Make SEC reads and writes snoopable */
Signature · 1 line
2.1.0.27.g96db324
#1 lore raw

PATCH 1/1 armv8: fsl-layerscape: don't reconfigure QSPI clock when booting from QSPI

Quoted 7 lines · Gong Qianyu

It has set the qspi_cfg register earlier through PBI when booting from QSPI. We'd better not change it.

---
 arch/arm/cpu/armv8/fsl-layerscape/soc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Minor change in subject and commit message.

Applied to u-boot-fsl-qoriq master. Awaiting upstream.

Thanks.

York