]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/arch-mx6/crm_regs.h
imx: mx6sl: Add perclk_clk_sel bit define in CCM
[karo-tx-uboot.git] / arch / arm / include / asm / arch-mx6 / crm_regs.h
index 92f9b21dd8d1bac1c45928432e542cf933309994..39f3c0707b8ee38eb9eda7e891a64e9f913298cc 100644 (file)
@@ -228,6 +228,8 @@ struct mxc_ccm_reg {
 #ifdef CONFIG_MX6SX
 #define MXC_CCM_CSCMR1_QSPI1_CLK_SEL_MASK              (0x7 << 7)
 #define MXC_CCM_CSCMR1_QSPI1_CLK_SEL_OFFSET            7
+#endif
+#if (defined(CONFIG_MX6SL) || defined(CONFIG_MX6SX))
 #define MXC_CCM_CSCMR1_PER_CLK_SEL_MASK                        (1 << 6)
 #define MXC_CCM_CSCMR1_PER_CLK_SEL_OFFSET              6
 #endif