diff options
author | Ye.Li <B37916@freescale.com> | 2015-03-09 11:57:16 +0800 |
---|---|---|
committer | Peng Fan <Peng.Fan@freescale.com> | 2015-04-29 15:01:59 +0800 |
commit | ce7798efc2b7a2d7cf458a2f5e3d263a73588b27 (patch) | |
tree | 935f8b0fe278027002bc95fc38b1b73b74937ec8 /arch/arm/cpu/armv7/mx7 | |
parent | 5f162a619777d9535387968c4799d7e9f484784d (diff) | |
download | u-boot-imx-ce7798efc2b7a2d7cf458a2f5e3d263a73588b27.zip u-boot-imx-ce7798efc2b7a2d7cf458a2f5e3d263a73588b27.tar.gz u-boot-imx-ce7798efc2b7a2d7cf458a2f5e3d263a73588b27.tar.bz2 |
MLK-10385-3 imx: mx7: Enable rawnand clock at init for APBH-DMA
For APBH-DMA enabled case, we have to enable rawnand clock for mxs_dma_init.
Signed-off-by: Ye.Li <B37916@freescale.com>
(cherry picked from commit 42f42939bbd8161ce283a6af326d0f313cc4c36c)
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'arch/arm/cpu/armv7/mx7')
-rw-r--r-- | arch/arm/cpu/armv7/mx7/clock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx7/clock.c b/arch/arm/cpu/armv7/mx7/clock.c index f8d17df..4945916 100644 --- a/arch/arm/cpu/armv7/mx7/clock.c +++ b/arch/arm/cpu/armv7/mx7/clock.c @@ -997,6 +997,10 @@ void clock_init(void) enable_usboh3_clk(1); clock_enable(CCGR_SNVS, 1); + +#ifdef CONFIG_NAND_MXS + clock_enable(CCGR_RAWNAND, 1); +#endif } #ifdef CONFIG_SECURE_BOOT |