summaryrefslogtreecommitdiff
path: root/include/host_command.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-07-23 12:23:48 -0700
committerGerrit <chrome-bot@google.com>2012-07-24 11:26:57 -0700
commit2de38e81a230950922d4926baf401e88b10538a3 (patch)
treebdbaa37e1de90a9a8ae773b5543bb217fcbdbf17 /include/host_command.h
parent3120c479ec3e797bd1fdb4023e4f23f58a3794b1 (diff)
downloadchrome-ec-2de38e81a230950922d4926baf401e88b10538a3.tar.gz
Revert "Revert "i2c: Support command version numbers""
This reverts commit 3bb4c6acf4ff327f956ee5e1b6deefcd84dc8fbb Change-Id: I690baa9bcc0229502c103fc31314170bbc825f65 Reviewed-on: https://gerrit.chromium.org/gerrit/28189 Commit-Ready: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/host_command.h')
-rw-r--r--include/host_command.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/host_command.h b/include/host_command.h
index a88761a6e2..135f493737 100644
--- a/include/host_command.h
+++ b/include/host_command.h
@@ -22,6 +22,7 @@ struct host_cmd_handler_args {
uint8_t command; /* Command (e.g., EC_CMD_FLASH_GET_INFO) */
uint8_t version; /* Version of command (0-31) */
uint8_t params_size; /* Size of input parameters in bytes */
+ uint8_t i2c_old_response; /* (for I2C) send an old-style response */
const uint8_t *params; /* Input parameters */
/*
* Pointer to output response data buffer. On input to the handler,