]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit70598c4d5bdb64ceb4708a04a9b9e7e304f5a0d6
tree8f679acc6200fbfb11e3891fb637a4930869b89b
parent40a9af63ae9ec42386d6c40b14f92fb56557c9a8
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