summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2015-08-25 15:05:38 +0800
committerYe.Li <B37916@freescale.com>2015-08-25 15:56:06 +0800
commit3b548a3ddf03dcbb646912ef7bbdd3cdb2daf81a (patch)
tree99415cc2e9bbf47ef301f7723b4b0e651cb68cdb /arch/arm/cpu
parent5c8dcbe7aba3980e07a67bb567bfddc5700460a5 (diff)
downloadu-boot-imx-3b548a3ddf03dcbb646912ef7bbdd3cdb2daf81a.zip
u-boot-imx-3b548a3ddf03dcbb646912ef7bbdd3cdb2daf81a.tar.gz
u-boot-imx-3b548a3ddf03dcbb646912ef7bbdd3cdb2daf81a.tar.bz2
MLK-11408-1 imx: mx7d: Add mx7d RDC driver support
Add the peripherals/masters definitions and registers base addresses for mx7d RDC. Enable the RDC driver by setting CONFIG_MXC_RDC. Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/armv7/mx7/clock.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx7/clock.c b/arch/arm/cpu/armv7/mx7/clock.c
index 0bfa2e3..b75a626 100644
--- a/arch/arm/cpu/armv7/mx7/clock.c
+++ b/arch/arm/cpu/armv7/mx7/clock.c
@@ -1070,6 +1070,12 @@ void clock_init(void)
#ifdef CONFIG_NAND_MXS
clock_enable(CCGR_RAWNAND, 1);
#endif
+
+#ifdef CONFIG_MXC_RDC
+ clock_enable(CCGR_RDC, 1);
+ clock_enable(CCGR_SEMA1, 1);
+ clock_enable(CCGR_SEMA2, 1);
+#endif
}
#ifdef CONFIG_SECURE_BOOT