]> git.dujemihanovic.xyz Git - u-boot.git/commit
remoteproc: stm32: update error management in stm32_copro_start
authorPatrick Delaunay <patrick.delaunay@st.com>
Thu, 15 Oct 2020 13:01:13 +0000 (15:01 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Wed, 25 Nov 2020 10:32:31 +0000 (11:32 +0100)
commit9ed6f929a34b87c4bf06f01d84d8c58b0586b53a
treeea498743445f6b99d5577cc8275f558f4d17f496
parent5a536dfe33860e6477f98edeeef9e8998ba73366
remoteproc: stm32: update error management in stm32_copro_start

The coprocessor is running as soon as the hold boot is de-asserted.

So indicate this running state and save the resource table even
if the protective assert, to avoid autonomous reboot, is failed.

This error case should never occurs.

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