ARM: shmobile: r8a7779: Remove explicit SYSC config and init
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 30 May 2018 15:25:15 +0000 (17:25 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 18 Jun 2018 10:00:28 +0000 (12:00 +0200)
commit16acd53b1547d3dbe3eabef5e3356674eb957ae4
tree7f9630531d1616497631324d4e155d13b6f98d6f
parent9d65c891587ea9d0936551e432f34485c16bb71c
ARM: shmobile: r8a7779: Remove explicit SYSC config and init

If the R-Car H1 system controller is described in DT, the rcar-sysc
driver configures SYSCIER and SYSCIMR based on the SoC-specific power
area definitions in r8a7779-sysc.  The platform code still passed this
information to the rcar-sysc driver, for compatibility with old DTBs
predating commit b2df3aa487395a1b ("ARM: dts: r8a7779: Add SYSC PM
Domains") in v4.7.  The time has come to drop backwards compatibility,
and delegate everything to the DT enabled rcar-sysc driver.

After stopping powering down secondary CPUs during early boot, there is
no longer a need to force an early initialization of the rcar-sysc
driver.  It will be initialized in time for secondary CPU bringup by its
early_initcall().

Hence all explicit SYSC configuration and initialization can be removed
from the R-Car H1 platform code.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/pm-r8a7779.c [deleted file]
arch/arm/mach-shmobile/r8a7779.h
arch/arm/mach-shmobile/smp-r8a7779.c