diff options
author | Hyungwoo Yang <hyungwoo.yang@intel.com> | 2018-10-23 12:28:27 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2018-11-21 21:05:08 +0000 |
commit | 37cb4a528529fa88637b25bc7985cea56715c2fa (patch) | |
tree | f2ee094b564ee21ad547c28b7cf37621ab13764f | |
parent | 0b3655f310609cc8cfb6de4b6e9d29c622553dbb (diff) | |
download | chrome-ec-37cb4a528529fa88637b25bc7985cea56715c2fa.tar.gz |
ISH: IPC: send HC FW ready notification to host
send Host Command FW ready notification to host driver.
BUG=b:79676054
BRANCH=none
TEST=tested on Atlas board
Change-Id: I5148351d91151e964561c821c02634bd32163dfd
Reviewed-on: https://chromium-review.googlesource.com/c/1347020
Reviewed-by: Caveh Jalali <caveh@google.com>
Commit-Queue: Caveh Jalali <caveh@google.com>
Tested-by: Caveh Jalali <caveh@google.com>
-rw-r--r-- | chip/ish/ipc.c | 3 | ||||
-rw-r--r-- | chip/ish/ipc.h | 1 |
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) |