summaryrefslogtreecommitdiff
path: root/chip/ish/ipc_heci.c
diff options
context:
space:
mode:
authorHyungwoo Yang <hyungwoo.yang@intel.com>2019-05-08 16:53:55 -0700
committerJett Rink <jettrink@chromium.org>2019-05-14 16:34:24 +0000
commitf8840200e0d2032175c8cd11613c8636c3f1711a (patch)
tree1c22bfe5a5290ea801f17b3f73e0b908b16e4e1f /chip/ish/ipc_heci.c
parent7671f9d7dbe7d5590fccd5a16b97d1c8d45ce3c7 (diff)
downloadchrome-ec-f8840200e0d2032175c8cd11613c8636c3f1711a.tar.gz
ish: update firmware status
Currently we missed some FW status updates that are used by host in taking critical action. BUG=b:132060059 BRANCH=none TEST=tested on Arcada platform Change-Id: I7ad607869f821eae99e37704ab3d6567d180aadd Signed-off-by: Hyungwoo Yang <hyungwoo.yang@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1601780 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'chip/ish/ipc_heci.c')
-rw-r--r--chip/ish/ipc_heci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/chip/ish/ipc_heci.c b/chip/ish/ipc_heci.c
index b0faa5bfbd..394c768e28 100644
--- a/chip/ish/ipc_heci.c
+++ b/chip/ish/ipc_heci.c
@@ -728,5 +728,8 @@ void ipc_init(void)
ctx = ipc_get_if_ctx(i);
queue_init(&ctx->tx_queue);
}
+
+ /* inform host firmware is running */
+ ish_fwst_set_fw_status(FWSTS_FW_IS_RUNNING);
}
DECLARE_HOOK(HOOK_INIT, ipc_init, HOOK_PRIO_DEFAULT);