ARM: shmobile: rcar-gen2: Obtain jump stub region from DT
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 4 Jul 2017 15:41:36 +0000 (17:41 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 27 Jul 2017 14:30:51 +0000 (16:30 +0200)
commit816756962b15f469d467b09beeb702af015c55cc
treea015ad40330172cba867a62ba31981a634612c10
parentfcfbb6f144065f301f60555e5475434f2956eeb8
ARM: shmobile: rcar-gen2: Obtain jump stub region from DT

Add support for obtaining from DT the SRAM region to store the jump stub
for CPU core bringup, according to the renesas,smp-sram DT bindings.

If no region is specified in DT, the code falls back to hardcoded ICRAM1
as before, to maintain backwards compatibility.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/pm-rcar-gen2.c