]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/cpu/armv8/fsl-layerscape/soc.c
armv8/ls1043aqds: add QSPI support in SD boot
[people/ms/u-boot.git] / arch / arm / cpu / armv8 / fsl-layerscape / soc.c
index d97a445179ae883094f0374e005a62444b163ae9..7ff01481bef68b2ebbf0b3fbd0ba960288e7bd37 100644 (file)
@@ -222,6 +222,9 @@ void fsl_lsch2_early_init_f(void)
        init_early_memctl_regs();       /* tighten IFC timing */
 #endif
 
+#ifdef CONFIG_FSL_QSPI
+       out_be32(&scfg->qspi_cfg, SCFG_QSPI_CLKSEL);
+#endif
        /* Make SEC reads and writes snoopable */
        setbits_be32(&scfg->snpcnfgcr, SCFG_SNPCNFGCR_SECRDSNP |
                     SCFG_SNPCNFGCR_SECWRSNP);