SoC s7: bl30 add aocpu alive detection mechanism [1/2]
PD#SWPL-155399
Problem:
CPU would hang when bl31/bl33/kernel communicate with
bl30/AOCPU that we could not confirm the reason.
Solution:
Add aocpu alive detection mechanism.
Verify:
S7_BH201
Change-Id: I33ae920a2b68aa6084e66ab39094effbb21d4423
Signed-off-by: bangzheng.liu <bangzheng.liu@amlogic.com>
diff --git a/s7/soc.h b/s7/soc.h
index fef94cd..c67e07c 100644
--- a/s7/soc.h
+++ b/s7/soc.h
@@ -54,4 +54,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