diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-09-15 15:43:21 +0300 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-09-18 14:26:12 +0300 |
commit | 2bf7c86ebbc06b0ad504db2cb483e55b9dfe73f1 (patch) | |
tree | 08522c0b68f6d3c83985b7da13e982c78d427872 /arch/arm/mach-uniphier/clk/clk-ld11.c | |
parent | 81b9bb5fcb5e8d42a7ccfeaf5afed9ff77014761 (diff) | |
download | u-boot-2bf7c86ebbc06b0ad504db2cb483e55b9dfe73f1.tar.xz |
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.c | 2 |
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++) { |