]> git.dujemihanovic.xyz Git - u-boot.git/commit
remoteproc: stm32: track the coprocessor state in a backup register
authorFabien Dessenne <fabien.dessenne@st.com>
Wed, 30 Oct 2019 13:38:31 +0000 (14:38 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 7 Jan 2020 16:13:25 +0000 (11:13 -0500)
commit4a4deb870f9a19569e6b86afe36d0e0fbee4fa61
tree6c332480587757171bb3563351c2702afc96ed77
parent7bff971a145c9fa0aa59c61c1fe0081c6b2db6dd
remoteproc: stm32: track the coprocessor state in a backup register

Update the dedicated backup register to track the coprocessor state and
rely on that register to compute the .is_running() value (which expects
a return value of 0 -not 1- if the processor is running).

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Acked-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/remoteproc/stm32_copro.c