remoteproc: stm32: use reset for hold boot
authorPatrick Delaunay <patrick.delaunay@st.com>
Thu, 15 Oct 2020 13:01:12 +0000 (15:01 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Wed, 25 Nov 2020 10:32:31 +0000 (11:32 +0100)
commit5a536dfe33860e6477f98edeeef9e8998ba73366
tree326f2576b7793221342237f296b2db8d25f21853
parentd8d29a4489c72ed8cbeafa42ea5c06e26b80a2e5
remoteproc: stm32: use reset for hold boot

Use the reset function to handle the hold boot bit in RCC
with device tree handle with MCU_HOLD_BOOT identifier.

This generic reset allows to remove the two specific properties:
- st,syscfg-holdboot
- st,syscfg-tz

This patch prepares alignment with kernel device tree.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Fabien DESSENNE <fabien.dessenne@st.com>
Cc: Arnaud POULIQUEN <arnaud.pouliquen@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/dts/stm32mp15-u-boot.dtsi
drivers/remoteproc/stm32_copro.c