diff options
author | Tom Rini <trini@konsulko.com> | 2017-08-16 18:12:35 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-16 18:12:40 -0400 |
commit | ceff355a5f3038ddb49618d9adc716b0ed978aea (patch) | |
tree | 930e9ae87c1fe2a0d8a3d80aa3d6cc254a0b2a33 /arch/arm/mach-sunxi | |
parent | 470135be276b2d92c6da464c68839202d4ff0d08 (diff) | |
parent | 585bf8ae6f467d85b8e9f17141c8562d96a83c51 (diff) | |
download | u-boot-ceff355a5f3038ddb49618d9adc716b0ed978aea.tar.gz |
Merge git://git.denx.de/u-boot-sunxi
Update A20-OLinuXino-Lime2-eMMC_defconfig to include CONFIG_SCSI
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/mach-sunxi')
-rw-r--r-- | arch/arm/mach-sunxi/clock_sun6i.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/clock_sun6i.c b/arch/arm/mach-sunxi/clock_sun6i.c index ec5b026ef5..870ff5b1e0 100644 --- a/arch/arm/mach-sunxi/clock_sun6i.c +++ b/arch/arm/mach-sunxi/clock_sun6i.c @@ -66,11 +66,17 @@ void clock_init_sec(void) #ifdef CONFIG_MACH_SUNXI_H3_H5 struct sunxi_ccm_reg * const ccm = (struct sunxi_ccm_reg *)SUNXI_CCM_BASE; + struct sunxi_prcm_reg * const prcm = + (struct sunxi_prcm_reg *)SUNXI_PRCM_BASE; setbits_le32(&ccm->ccu_sec_switch, CCM_SEC_SWITCH_MBUS_NONSEC | CCM_SEC_SWITCH_BUS_NONSEC | CCM_SEC_SWITCH_PLL_NONSEC); + setbits_le32(&prcm->prcm_sec_switch, + PRCM_SEC_SWITCH_APB0_CLK_NONSEC | + PRCM_SEC_SWITCH_PLL_CFG_NONSEC | + PRCM_SEC_SWITCH_PWR_GATE_NONSEC); #endif } |