public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] armv8: fsl-layerscape: don't reconfigure QSPI clock when booting from QSPI
@ 2016-03-16 10:01 Gong Qianyu
  2016-03-29 15:42 ` York Sun
  0 siblings, 1 reply; 2+ messages in thread
From: Gong Qianyu @ 2016-03-16 10:01 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com>
---
 arch/arm/cpu/armv8/fsl-layerscape/soc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/armv8/fsl-layerscape/soc.c b/arch/arm/cpu/armv8/fsl-layerscape/soc.c
index 213ce3a..bf04742 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/soc.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/soc.c
@@ -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 */
-- 
2.1.0.27.g96db324

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-29 15:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-16 10:01 [U-Boot] [PATCH] armv8: fsl-layerscape: don't reconfigure QSPI clock when booting from QSPI Gong Qianyu
2016-03-29 15:42 ` York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox