projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af01359
)
imx: mx7d: clock support for RDC
author
Peng Fan
<peng.fan@nxp.com>
Thu, 28 Jan 2016 08:55:03 +0000
(16:55 +0800)
committer
Stefano Babic
<sbabic@denx.de>
Sun, 21 Feb 2016 10:46:26 +0000
(11:46 +0100)
If CONFIG_IMX_RDC is enabled, enable clock for RDC and SEMAPHORE.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/cpu/armv7/mx7/clock.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/mx7/clock.c
b/arch/arm/cpu/armv7/mx7/clock.c
index 77db6e8306f8c6a31fb837034bad2fa7c72a32c6..4d68ad2615e1876eeb027307626737a95a6ae2f0 100644
(file)
--- 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