Commit 34484a64 authored by Caveh Jalali's avatar Caveh Jalali Committed by chrome-bot
Browse files

depthcharge: refresh EC commands.h.



picking up the definitions for 2 new EC commands added in the EC tree
that need to get sync'd to the depthcharge tree:

	EC_CMD_PD_CHIP_INFO
	EC_CMD_RWSIG_ACTION

TEST=it compiles (no functional change)

BRANCH=none
BUG=b:35586895

Change-Id: Iaf50364b61fe3102f9b3bdf803e8fc21b59613fc
Signed-off-by: default avatarCaveh Jalali <caveh@google.com>
Reviewed-on: https://chromium-review.googlesource.com/597310

Reviewed-by: default avatarStefan Reinauer <reinauer@chromium.org>
parent 46a1e1aa
......@@ -3958,6 +3958,42 @@ struct __ec_align1 ec_response_usb_pd_mux_info {
uint8_t flags; /* USB_PD_MUX_*-encoded USB mux state */
};
#define EC_CMD_PD_CHIP_INFO 0x11b
struct __ec_align1 ec_params_pd_chip_info {
uint8_t port; /* USB-C port number */
uint8_t renew; /* Force renewal */
};
struct __ec_align2 ec_response_pd_chip_info {
uint16_t vendor_id;
uint16_t product_id;
uint16_t device_id;
union {
uint8_t fw_version_string[8];
uint64_t fw_version_number;
};
};
/* Run RW signature verification and get status */
#define EC_CMD_RWSIG_CHECK_STATUS 0x11c
struct __ec_align4 ec_response_rwsig_check_status {
uint32_t status;
};
/* For controlling RWSIG task */
#define EC_CMD_RWSIG_ACTION 0x11d
enum rwsig_action {
RWSIG_ACTION_ABORT = 0, /* Abort RWSIG and prevent jumping */
RWSIG_ACTION_CONTINUE = 1, /* Jump to RW immediately */
};
struct __ec_align4 ec_params_rwsig_action {
uint32_t action;
};
#endif /* !__ACPI__ */
/*****************************************************************************/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment