mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 02:20:48 +00:00
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>
This commit is contained in:
committed by
ChromeOS Commit Bot
parent
3196828344
commit
eded0406a3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user