diff options
author | Tom Rini <trini@konsulko.com> | 2016-05-02 16:18:43 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-02 16:18:43 (GMT) |
commit | 9a1f4bae0bded0ce354dd4b098d4b4a3b81d4d9a (patch) | |
tree | 69e41f1752a89ef97da3e002f1a00475a31dc3aa /arch/arm/mach-uniphier/early-clk/early-clk-ld20.c | |
parent | 821c89d38cb6832f162b5b20ec86f07610407c25 (diff) | |
parent | bef4b024e9839ea7afe689b050fc95118eeb0b01 (diff) | |
download | u-boot-9a1f4bae0bded0ce354dd4b098d4b4a3b81d4d9a.tar.xz |
Merge branch 'master' of git://git.denx.de/u-boot-uniphier
Diffstat (limited to 'arch/arm/mach-uniphier/early-clk/early-clk-ld20.c')
-rw-r--r-- | arch/arm/mach-uniphier/early-clk/early-clk-ld20.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/early-clk/early-clk-ld20.c b/arch/arm/mach-uniphier/early-clk/early-clk-ld20.c index 37adb37..5201a55 100644 --- a/arch/arm/mach-uniphier/early-clk/early-clk-ld20.c +++ b/arch/arm/mach-uniphier/early-clk/early-clk-ld20.c @@ -21,6 +21,10 @@ int uniphier_ld20_early_clk_init(const struct uniphier_board_data *bd) writel(tmp, SC_RSTCTRL7); /* provide clocks */ + tmp = readl(SC_CLKCTRL4); + tmp |= SC_CLKCTRL4_PERI; + writel(tmp, SC_CLKCTRL4); + tmp = readl(SC_CLKCTRL7); tmp |= SC_CLKCTRL7_UMCSB | SC_CLKCTRL7_UMC32 | SC_CLKCTRL7_UMC31 | SC_CLKCTRL7_UMC30; |