projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad6767b
)
armv8: fsl-layerscape: Skip reconfigure QSPI clock when booting from QSPI
author
Qianyu Gong
<qianyu.gong@nxp.com>
Wed, 16 Mar 2016 10:01:52 +0000
(18:01 +0800)
committer
York Sun
<york.sun@nxp.com>
Tue, 29 Mar 2016 00:35:38 +0000
(17:35 -0700)
The qspi_cfg register is set by PBI when booting from QSPI. No need
to changing it again.
Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/soc.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv8/fsl-layerscape/soc.c
b/arch/arm/cpu/armv8/fsl-layerscape/soc.c
index 213ce3a82468bb142d4cc53217f0c09dc97781af..bf0474283f6f8f36cda76a495be32eb87cd05bfe 100644
(file)
--- 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
-#if
def 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 */