mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-15 12:29:08 +01:00
sunxi: use setbits_le32 to enable the DMA clock
Signed-off-by: Ian Campbell <ijc@hellion.org.uk> Acked-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
abce2c6220
commit
7c48b01510
1 changed files with 1 additions and 2 deletions
|
|
@ -36,8 +36,7 @@ void clock_init_safe(void)
|
|||
CPU_CLK_SRC_PLL1 << CPU_CLK_SRC_SHIFT,
|
||||
&ccm->cpu_ahb_apb0_cfg);
|
||||
#ifdef CONFIG_SUN7I
|
||||
writel(0x1 << AHB_GATE_OFFSET_DMA | readl(&ccm->ahb_gate0),
|
||||
&ccm->ahb_gate0);
|
||||
setbits_le32(&ccm->ahb_gate0, 0x1 << AHB_GATE_OFFSET_DMA);
|
||||
#endif
|
||||
writel(PLL6_CFG_DEFAULT, &ccm->pll6_cfg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue