diff options
author | Ye.Li <B37916@freescale.com> | 2014-10-30 18:20:56 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-11-03 11:21:48 +0100 |
commit | 0561b8edf0098e938f8e9fb55be41ddb455b52b2 (patch) | |
tree | 1d461298ea7219315c9eab63710f31147f78238a /arch | |
parent | 1a1f7950781541f707a84111731634ee8b20ed61 (diff) | |
download | u-boot-imx-0561b8edf0098e938f8e9fb55be41ddb455b52b2.zip u-boot-imx-0561b8edf0098e938f8e9fb55be41ddb455b52b2.tar.gz u-boot-imx-0561b8edf0098e938f8e9fb55be41ddb455b52b2.tar.bz2 |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/arch-mx6/crm_regs.h | 2 |
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 92f9b21..39f3c07 100644 --- a/arch/arm/include/asm/arch-mx6/crm_regs.h +++ b/arch/arm/include/asm/arch-mx6/crm_regs.h @@ -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 |