ea47494e9ad86c460fb724daa9d083af909122bc src/arch/arm32/mach-v831/sys-clock.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/arch/arm32/mach-v831/sys-clock.c b/src/arch/arm32/mach-v831/sys-clock.c index 82311fdad..0a8d1ec28 100644 --- a/src/arch/arm32/mach-v831/sys-clock.c +++ b/src/arch/arm32/mach-v831/sys-clock.c @@ -102,4 +102,7 @@ void sys_clock_init(void)	/* apb2 = osc24m / (0 + 1) / (0 + 1) */	write32(V831_CCU_BASE + CCU_APB2_CFG, 0x00000000); + +	/* mclk gating enable for core component */ +	write32(V831_CCU_BASE + 0x0804, 0x08800707); }
https://github.com/xboot/xboot/blob/master/src/arch/arm32/mach-v831/driver/dma-v831.cgithub.com