summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/ish/host_command_heci.c2
-rw-r--r--chip/ish/ipc_heci.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/chip/ish/host_command_heci.c b/chip/ish/host_command_heci.c
index 2de584d6b8..69736eeae7 100644
--- a/chip/ish/host_command_heci.c
+++ b/chip/ish/host_command_heci.c
@@ -9,6 +9,7 @@
#include "host_command.h"
#include "host_command_heci.h"
#include "ipc_heci.h"
+#include "ish_fwst.h"
#include "util.h"
#define CPUTS(outstr) cputs(CC_LPC, outstr)
@@ -144,6 +145,7 @@ EC_VER_MASK(0));
static int cros_ec_ishtp_subsys_initialize(const heci_handle_t heci_handle)
{
heci_cros_ec_handle = heci_handle;
+ ish_fwst_set_fw_status(FWSTS_SENSOR_APP_RUNNING);
return EC_SUCCESS;
}
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);