arm: omap5: hw_data: Enable clock selectively.
[glsdk/glsdk-u-boot.git] / arch / arm / cpu / armv7 / omap5 / hw_data.c
index 3f46211b5055c22ddefafad20891c6b80bd7878b..ff0cd4d1098defdb7a078f6f1dc099d4fdea6085 100644 (file)
@@ -452,7 +452,9 @@ void enable_basic_clocks(void)
                         clk_modules_explicit_en_essential,
                         1);
 
+#ifdef CONFIG_TI_QSPI
        setbits_le32((*prcm)->cm_l4per_qspi_clkctrl, (1<<24));
+#endif
 
        /* Enable SCRM OPT clocks for PER and CORE dpll */
        setbits_le32((*prcm)->cm_wkupaon_scrm_clkctrl,