[PATCH 1/6] remoteproc: renesas: rsip: Clear SCMI transport flags

Marek Vasut via U-Boot <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <20260810223604.1333043-1-marek.vasut+renesas__33855.1451846556$1786401389$gmane$org@mailbox.org>
Clear the transport flags field before starting new transfer.
The current SDK SCP is not affected by this in any way, but it
is better to clear the field to be correct.

Signed-off-by: Marek Vasut <[email protected]>
---
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]
---
 drivers/remoteproc/renesas_rsip.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/remoteproc/renesas_rsip.c b/drivers/remoteproc/renesas_rsip.c
index 76ccaf93b1a..68b775e5f82 100644
--- a/drivers/remoteproc/renesas_rsip.c
+++ b/drivers/remoteproc/renesas_rsip.c
@@ -116,6 +116,7 @@ static void scp_cpu_core_start(const u32 core, const u32 ep)
 	/* Wait for SCP to be free, then set it busy */
 	scp_wait_fw_free();
 	shmem->status &= ~SCP_SCMI_STATUS_FREE;
+	shmem->flags = 0;
 
 	/* Set up the message and copy it to SHMEM */
 	shmem->message_header = SCMI_PD_POWER_STATE_SET_BOOTADDR;
-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.