ARM: shmobile: apmu: Add APMU DT support via Enable method
authorMagnus Damm <damm+renesas@opensource.se>
Tue, 28 Jun 2016 14:10:36 +0000 (16:10 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 29 Jun 2016 12:42:48 +0000 (14:42 +0200)
commit5f3bca0db8ac01a73622361f6062939638bf4730
treec3f37df71cc26a10162d0a0832d8d7b60de92320
parentd3f3fb0cfdcf4cbf69af65e8bfdde65cedf4e53a
ARM: shmobile: apmu: Add APMU DT support via Enable method

Allow DT configuration of the APMU hardware in the case when the APMU is
pointed out in the DTB via the enable-method. The ability to configure
the APMU via C code is still kept intact to prevent DTB breakage for older
SoCs that do not rely on the enable-method for SMP support.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
[geert: Fix CONFIG_SMP=n build]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/platsmp-apmu.c