diff options
author | Ye.Li <B37916@freescale.com> | 2015-03-09 11:57:16 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2015-03-10 10:35:52 +0800 |
commit | 42f42939bbd8161ce283a6af326d0f313cc4c36c (patch) | |
tree | 50afaaec0eef2a49b964befa45740faa9d8a8086 /arch | |
parent | 9c50677dac30085742ef216b9f2e19308e123d2b (diff) | |
download | u-boot-imx-42f42939bbd8161ce283a6af326d0f313cc4c36c.zip u-boot-imx-42f42939bbd8161ce283a6af326d0f313cc4c36c.tar.gz u-boot-imx-42f42939bbd8161ce283a6af326d0f313cc4c36c.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>
Diffstat (limited to 'arch')
-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 96017d3..c213f03 100644 --- a/arch/arm/cpu/armv7/mx7/clock.c +++ b/arch/arm/cpu/armv7/mx7/clock.c @@ -992,6 +992,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 |