diff options
author | Jett Rink <jettrink@chromium.org> | 2018-09-24 10:48:33 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-09-28 13:34:32 -0700 |
commit | c6c0d021d16eb686254bde767264f7f3151df7f2 (patch) | |
tree | 5a38b1178189ffb0ad3ba0754a0b775399c928a7 /driver/tcpm/tcpci.h | |
parent | 64c792829c2fd6bda4985e2add424cce41c5cfd9 (diff) | |
download | chrome-ec-c6c0d021d16eb686254bde767264f7f3151df7f2.tar.gz |
pdchipinfo: add min firmware version to pdchipinfo
Add a new field to the pdchipinfo host command that exposes the minimum
required firmware version that we know about. This will allow factory
tests or automated test to compare this version to the current version
and fail.
BRANCH=none
BUG=b:116068318
TEST=with corresponding ectool change, min value is reported correctly
Change-Id: Idf338795c3fd6f9f95e51471d0f6a7a422901d52
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1240457
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Diffstat (limited to 'driver/tcpm/tcpci.h')
-rw-r--r-- | driver/tcpm/tcpci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/tcpm/tcpci.h b/driver/tcpm/tcpci.h index 24c5d9c2f6..f5fe1a1a0b 100644 --- a/driver/tcpm/tcpci.h +++ b/driver/tcpm/tcpci.h @@ -155,7 +155,7 @@ int tcpci_tcpm_mux_init(int i2c_addr); int tcpci_tcpm_mux_set(int i2c_addr, mux_state_t mux_state); int tcpci_tcpm_mux_get(int i2c_addr, mux_state_t *mux_state); int tcpci_get_chip_info(int port, int renew, - struct ec_response_pd_chip_info **chip_info); + struct ec_response_pd_chip_info_v1 **chip_info); #ifdef CONFIG_USBC_PPC int tcpci_tcpm_set_snk_ctrl(int port, int enable); int tcpci_tcpm_set_src_ctrl(int port, int enable); |