From: Peng Fan Date: Thu, 28 Jan 2016 08:55:03 +0000 (+0800) Subject: imx: mx7d: clock support for RDC X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=677656bdb51afcde5c1293d28a794d189c914bd7;p=u-boot.git imx: mx7d: clock support for RDC If CONFIG_IMX_RDC is enabled, enable clock for RDC and SEMAPHORE. Signed-off-by: Peng Fan --- diff --git a/arch/arm/cpu/armv7/mx7/clock.c b/arch/arm/cpu/armv7/mx7/clock.c index 77db6e8306..4d68ad2615 100644 --- a/arch/arm/cpu/armv7/mx7/clock.c +++ b/arch/arm/cpu/armv7/mx7/clock.c @@ -1067,6 +1067,12 @@ void clock_init(void) #ifdef CONFIG_NAND_MXS clock_enable(CCGR_RAWNAND, 1); #endif + + if (IS_ENABLED(CONFIG_IMX_RDC)) { + clock_enable(CCGR_RDC, 1); + clock_enable(CCGR_SEMA1, 1); + clock_enable(CCGR_SEMA2, 1); + } } #ifdef CONFIG_SECURE_BOOT