diff options
author | Bill Richardson <wfrichar@chromium.org> | 2015-07-01 10:53:19 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-07-06 20:06:55 +0000 |
commit | eded0406a367bbfed69d3f78871df5f9be7b7b41 (patch) | |
tree | dba0d032ffd48a3c070ed00d0d1db2152f641a69 | |
parent | 319682834457599b1e3da9037e153d201978bda4 (diff) | |
download | chrome-ec-eded0406a367bbfed69d3f78871df5f9be7b7b41.tar.gz |
Add EC_CMD_BLOB host command to pass opaque data around
This provides a way to experiment with or support random
functionality not specifically related to the normal EC
operation. With this, we can use a standard host command to pass
opaque data blobs between the AP and EC without specifying a
particular meaning to them.
BUG=chrome-os-partner:40969
BRANCH=none
TEST=make buildall
Nothing in the normal EC usage sends these messages. I have a
test/example program coming soon.
Change-Id: I77fe434cbd9151e4c2c22bc36d1ed6063d3bf940
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/283070
Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r-- | include/ec_commands.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index 4bfbbb0e39..6ef13c408b 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -3314,6 +3314,14 @@ struct ec_params_pd_write_log_entry { #endif /* !__ACPI__ */ + +/*****************************************************************************/ +/* + * Blob commands are just opaque chunks of data, sent with proto v3. + * params is struct ec_host_request, response is struct ec_host_response. + */ +#define EC_CMD_BLOB 0x200 + /*****************************************************************************/ /* * Passthru commands |