SoC S6: mailbox: add aocpu alive detection and mailbox retry [2/4]
PD#SWPL-172976
Problem:
add aocpu alive detection and mailbox retry mechanism to
avoid mailbox message lost due to aocpu crash or mailbox
signal lost occasionally
Solution:
add aocpu alive detection and mailbox retry mechanism
Verify:
S6-BL201
Change-Id: I22e62119ffbe4ee862971b3acffe6d877d50bdf4
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
diff --git a/s6/soc.h b/s6/soc.h
index 7df0940..38228da 100644
--- a/s6/soc.h
+++ b/s6/soc.h
@@ -57,4 +57,7 @@
#define DSP_FSM_TRIGER_CTRL SYSCTRL_TIMERI_CTRL
#define DSP_FSM_TRIGER_SRC SYSCTRL_TIMERI
+#define AOCPU_ALIVE_REG_VAL_WR (*(volatile uint32_t *)MAILBOX_WR_MBOX04)
+#define AOCPU_ALIVE_REG_VAL_RD (*(volatile uint32_t *)MAILBOX_RD_MBOX04)
+
#endif