ARM: shmobile: R-Mobile: Store SYSC base address in rmobile_pm_domain
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 3 Dec 2014 13:41:44 +0000 (14:41 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 13 Jan 2015 00:33:19 +0000 (09:33 +0900)
commit25717b857360760755b83b4e606d61e1fc38552f
tree7c2a7926d8d2a380917c917985ab8c39db8a4cad
parent4b9d62e02a0124d06fbbb9c4b01bd69f3c4dcd35
ARM: shmobile: R-Mobile: Store SYSC base address in rmobile_pm_domain

Replace the hardcoded addresses for accessing the SYSC PM domain
registers by register offsets, relative to the SYSC base address stored
in struct rmobile_pm_domain.

In the future, the SYSC base address will come from DT.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/pm-r8a7740.c
arch/arm/mach-shmobile/pm-rmobile.c
arch/arm/mach-shmobile/pm-rmobile.h
arch/arm/mach-shmobile/pm-sh7372.c