summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-09-16 17:36:11 +0800
committerYe.Li <B37916@freescale.com>2014-09-18 11:10:49 +0800
commit073fa27266c969d9cf4f5bc7fb8c8a5441759f99 (patch)
treeb80f72bc103bbc54d1bc27844d31e72c2c258e44
parent858780f05abea1f321f3c6e144b73c2b4b3bc930 (diff)
downloadu-boot-imx-073fa27266c969d9cf4f5bc7fb8c8a5441759f99.zip
u-boot-imx-073fa27266c969d9cf4f5bc7fb8c8a5441759f99.tar.gz
u-boot-imx-073fa27266c969d9cf4f5bc7fb8c8a5441759f99.tar.bz2
ENGR00331706-2 imx: mx6sl: Add perclk_clk_sel bit define in CCM
The MX6SL has the perclk_clk_sel to select the perclk source. Add its define in CCM Signed-off-by: Ye.Li <B37916@freescale.com>
-rw-r--r--arch/arm/include/asm/arch-mx6/crm_regs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx6/crm_regs.h b/arch/arm/include/asm/arch-mx6/crm_regs.h
index 7ac2015..576c8fd 100644
--- a/arch/arm/include/asm/arch-mx6/crm_regs.h
+++ b/arch/arm/include/asm/arch-mx6/crm_regs.h
@@ -342,6 +342,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