summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/clk/clk-ld11.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-09-15 21:43:21 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-09-18 20:26:12 +0900
commit2bf7c86ebbc06b0ad504db2cb483e55b9dfe73f1 (patch)
tree08522c0b68f6d3c83985b7da13e982c78d427872 /arch/arm/mach-uniphier/clk/clk-ld11.c
parent81b9bb5fcb5e8d42a7ccfeaf5afed9ff77014761 (diff)
ARM: uniphier: remove bit field macros from sc64-regs.h
Starting from PXs3, the bit fields of RSTCTRL, CLKCTRL registers will change every SoC. There is no more point to define bitfields in the common header file. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/clk/clk-ld11.c')
-rw-r--r--arch/arm/mach-uniphier/clk/clk-ld11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-uniphier/clk/clk-ld11.c b/arch/arm/mach-uniphier/clk/clk-ld11.c
index 0266e7e66b..a4b7419e54 100644
--- a/arch/arm/mach-uniphier/clk/clk-ld11.c
+++ b/arch/arm/mach-uniphier/clk/clk-ld11.c
@@ -40,7 +40,7 @@ void uniphier_ld11_clk_init(void)
int ch;
tmp = readl(SC_CLKCTRL4);
- tmp |= SC_CLKCTRL4_MIO | SC_CLKCTRL4_STDMAC;
+ tmp |= BIT(10) | BIT(8); /* MIO, STDMAC */
writel(tmp, SC_CLKCTRL4);
for (ch = 0; ch < 3; ch++) {