soc: renesas: rcar-rst: Add support to set rproc boot address
authorJulien Massot <julien.massot@iot.bzh>
Fri, 22 Oct 2021 12:21:01 +0000 (14:21 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 15 Nov 2021 09:01:10 +0000 (10:01 +0100)
commit4c7924fb905b02323ff6d9d20f370892615dccfa
tree8f679acc6200fbfb11e3891fb637a4930869b89b
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf
soc: renesas: rcar-rst: Add support to set rproc boot address

R-Car Gen3 SoC series has a realtime processor, the boot
address of this processor can be set thanks to CR7BAR register
of the reset module.

Export this function so that it's possible to set the boot
address from a remoteproc driver.

Also drop the __initdata qualifier on rcar_rst_base,
since we will use this address later than init time.

Signed-off-by: Julien Massot <julien.massot@iot.bzh>
Link: https://lore.kernel.org/r/20211022122101.66998-1-julien.massot@iot.bzh
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/soc/renesas/rcar-rst.c
include/linux/soc/renesas/rcar-rst.h