summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/ish/ipc.c3
-rw-r--r--chip/ish/ipc.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/chip/ish/ipc.c b/chip/ish/ipc.c
index a50d84d5f2..6e90c30390 100644
--- a/chip/ish/ipc.c
+++ b/chip/ish/ipc.c
@@ -377,6 +377,9 @@ static void ipc_init(void)
memset(lpc_get_memmap_range(), 0, EC_MEMMAP_SIZE);
setup_ipc();
+
+ CPUTS("*** MNG Host Command FW ready ****\n");
+ REG32(IPC_ISH2HOST_DOORBELL) = IPC_BUILD_MNG_MSG(MNG_HC_FW_READY, 1);
}
DECLARE_HOOK(HOOK_INIT, ipc_init, HOOK_PRIO_INIT_LPC);
diff --git a/chip/ish/ipc.h b/chip/ish/ipc.h
index 72968e94c4..7781e5f55c 100644
--- a/chip/ish/ipc.h
+++ b/chip/ish/ipc.h
@@ -17,6 +17,7 @@
#define IPC_PROTOCOL_MNG 3 /* Management protocol */
#define IPC_PROTOCOL_ECP 4 /* EC protocol */
#define MNG_TIME_UPDATE 5
+#define MNG_HC_FW_READY 8 /* host command ready */
#define EVENT_FLAG_BIT_READ_IPC (1<<0)
#define EVENT_FLAG_BIT_WRITE_IPC (1<<2)