diff options
author | Simon Glass <sjg@chromium.org> | 2015-05-04 11:31:09 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-05-14 18:49:34 -0600 |
commit | b5279249544c6ad261991a2f4c20bb05376522d4 (patch) | |
tree | 71cc68b5fbde1827e34bb1412b49b66daa6afd05 /drivers/misc | |
parent | 38068820426f08224bf3a146086a7eb380bc04f0 (diff) | |
download | u-boot-imx-b5279249544c6ad261991a2f4c20bb05376522d4.zip u-boot-imx-b5279249544c6ad261991a2f4c20bb05376522d4.tar.gz u-boot-imx-b5279249544c6ad261991a2f4c20bb05376522d4.tar.bz2 |
sandbox: cros_ec: Support EC_CMD_ENTERING_MODE emulation
Emualate this function which is used with Chrome OS verified boot.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/cros_ec_sandbox.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/cros_ec_sandbox.c b/drivers/misc/cros_ec_sandbox.c index df41e82..7509612 100644 --- a/drivers/misc/cros_ec_sandbox.c +++ b/drivers/misc/cros_ec_sandbox.c @@ -459,6 +459,8 @@ static int process_cmd(struct ec_state *ec, case EC_CMD_MKBP_STATE: len = cros_ec_keyscan(ec, resp_data); break; + case EC_CMD_ENTERING_MODE: + break; default: printf(" ** Unknown EC command %#02x\n", req_hdr->command); return -1; |