summaryrefslogtreecommitdiff
path: root/include/host_command.h
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-10-16 17:44:14 +0800
committerCommit Bot <commit-bot@chromium.org>2019-12-06 16:07:31 +0000
commitd543cbe84912f722b19f8e624d9d31254d5bed7f (patch)
tree02ef889bff60b576588bb9266b3c22ba8dd0d9f3 /include/host_command.h
parent2cd6efe60ed81a0d59ab91b94dc28212b1e59609 (diff)
downloadchrome-ec-d543cbe84912f722b19f8e624d9d31254d5bed7f.tar.gz
ec: remove entering_mode host command
After this host command is called, the value is stored in g_vboot_mode and never accessed again. BUG=b:124141368, chromium:1014379 TEST=make buildall -j BRANCH=none Change-Id: I7923658139d15394c1c3c07baca7168e34c111e9 Signed-off-by: Joel Kitching <kitching@google.com> Cq-Depend: chromium:1830239, chromium:1864533 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1865050 Tested-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'include/host_command.h')
-rw-r--r--include/host_command.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/host_command.h b/include/host_command.h
index 8ace629505..189def22f2 100644
--- a/include/host_command.h
+++ b/include/host_command.h
@@ -321,16 +321,6 @@ int pd_host_command(int command, int version,
const void *outdata, int outsize,
void *indata, int insize);
-
-/**
- * EC: Get verify boot mode
- * @return vboot_mode as the following:
- * VBOOT_MODE_NORMAL - normal mode
- * VBOOT_MODE_DEVELOPER - developer mode
- * VBOOT_MODE_RECOVERY - recovery mode
- */
-int host_get_vboot_mode(void);
-
/*
* Sends an emulated sysrq to the host, used by button-based debug mode.
* Only implemented on top of MKBP protocol.