mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-13 08:51:49 +00:00
cros-ec: Set protocol for cros-ec-usb-device
Specify "com.google.usb.crosec" to indicate support for Google's USB endpoint updater protocol.
This commit is contained in:
parent
8ed9f5f0a1
commit
852c6685ff
@ -19,6 +19,10 @@ Firmware Format
|
|||||||
The daemon will decompress the cabinet archive and extract a firmware blob in
|
The daemon will decompress the cabinet archive and extract a firmware blob in
|
||||||
the Google fmap [3] file format.
|
the Google fmap [3] file format.
|
||||||
|
|
||||||
|
This plugin supports the following protocol ID:
|
||||||
|
|
||||||
|
* com.google.usb.crosec
|
||||||
|
|
||||||
GUID Generation
|
GUID Generation
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
@ -581,6 +581,7 @@ fu_cros_ec_usb_device_prepare_firmware (FuDevice *device,
|
|||||||
static void
|
static void
|
||||||
fu_cros_ec_usb_device_init (FuCrosEcUsbDevice *device)
|
fu_cros_ec_usb_device_init (FuCrosEcUsbDevice *device)
|
||||||
{
|
{
|
||||||
|
fu_device_set_protocol (FU_DEVICE (device), "com.google.usb.crosec");
|
||||||
fu_device_set_version_format (FU_DEVICE (device), FWUPD_VERSION_FORMAT_TRIPLET);
|
fu_device_set_version_format (FU_DEVICE (device), FWUPD_VERSION_FORMAT_TRIPLET);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user