summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-uniphier/ph1-pro4/clkrst_init.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-27 02:26:50 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2015-03-01 00:02:32 +0900
commitf267b81e20da095539c7da7103afbd1e1b39b20b (patch)
tree7906924bec9d975cecac373147638e3555a2c0aa /arch/arm/mach-uniphier/ph1-pro4/clkrst_init.c
parent27eac5df175be016a391cedf37cf5a076d279cf8 (diff)
downloadtalos-obmc-uboot-f267b81e20da095539c7da7103afbd1e1b39b20b.tar.gz
talos-obmc-uboot-f267b81e20da095539c7da7103afbd1e1b39b20b.zip
ARM: UniPhier: rename SC_CLKCTRL_CLK_* to SC_SCLKCTRL_CEN_*
Follow the register macros in the LSI specification book. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/mach-uniphier/ph1-pro4/clkrst_init.c')
-rw-r--r--arch/arm/mach-uniphier/ph1-pro4/clkrst_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-uniphier/ph1-pro4/clkrst_init.c b/arch/arm/mach-uniphier/ph1-pro4/clkrst_init.c
index 6a9d144f82..eaa45f94d3 100644
--- a/arch/arm/mach-uniphier/ph1-pro4/clkrst_init.c
+++ b/arch/arm/mach-uniphier/ph1-pro4/clkrst_init.c
@@ -22,8 +22,8 @@ void clkrst_init(void)
/* privide clocks */
tmp = readl(SC_CLKCTRL);
- tmp |= SC_CLKCTRL_CLK_ETHER | SC_CLKCTRL_CLK_MIO | SC_CLKCTRL_CLK_UMC
- | SC_CLKCTRL_CLK_NAND | SC_CLKCTRL_CLK_SBC | SC_CLKCTRL_CLK_PERI;
+ tmp |= SC_CLKCTRL_CEN_ETHER | SC_CLKCTRL_CEN_MIO | SC_CLKCTRL_CEN_UMC
+ | SC_CLKCTRL_CEN_NAND | SC_CLKCTRL_CEN_SBC | SC_CLKCTRL_CEN_PERI;
writel(tmp, SC_CLKCTRL);
readl(SC_CLKCTRL); /* dummy read */
}
OpenPOWER on IntegriCloud