summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2015-03-09 11:57:16 +0800
committerYe.Li <B37916@freescale.com>2015-03-10 10:35:52 +0800
commit42f42939bbd8161ce283a6af326d0f313cc4c36c (patch)
tree50afaaec0eef2a49b964befa45740faa9d8a8086 /arch
parent9c50677dac30085742ef216b9f2e19308e123d2b (diff)
downloadu-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.c4
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