imx: mx7d: clock support for RDC
If CONFIG_IMX_RDC is enabled, enable clock for RDC and SEMAPHORE. Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
af0135928e
commit
677656bdb5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user