ARM: uniphier: de-couple SG macros into base address and offset
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 Jul 2019 11:07:40 +0000 (20:07 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 Jul 2019 13:42:00 +0000 (22:42 +0900)
commitd41b358fb331c2907f1f217686d38eeaf17eece4
tree9d8ea673b2beca4fab63764e762f74c455021e62
parentc3d8f1e8e92fd70abb912942300cf44fff9e9d86
ARM: uniphier: de-couple SG macros into base address and offset

The SG_* macros represent the address of SoC-glue registers.
For a planned new SoC, its base address will be changed.

Turn the SG_* macros into the offset from the base address.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
13 files changed:
arch/arm/mach-uniphier/arm32/debug_ll.S
arch/arm/mach-uniphier/boot-device/boot-device-pxs3.c
arch/arm/mach-uniphier/boot-device/boot-device.c
arch/arm/mach-uniphier/clk/clk-ld11.c
arch/arm/mach-uniphier/clk/pll-ld4.c
arch/arm/mach-uniphier/clk/pll-pro4.c
arch/arm/mach-uniphier/debug-uart/debug-uart-pro4.c
arch/arm/mach-uniphier/debug-uart/debug-uart-pro5.c
arch/arm/mach-uniphier/debug-uart/debug-uart.c
arch/arm/mach-uniphier/dram_init.c
arch/arm/mach-uniphier/memconf.c
arch/arm/mach-uniphier/sg-regs.h
arch/arm/mach-uniphier/soc-info.c