mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-12 18:18:39 +00:00
vli-usbhub: Print the PD firmware offset and size for debugging
This commit is contained in:
parent
233868124e
commit
ad7c7e5fb3
@ -30,6 +30,10 @@ fu_vli_usbhub_pd_device_to_string (FuDevice *device, guint idt, GString *str)
|
|||||||
FuVliUsbhubPdDevice *self = FU_VLI_USBHUB_PD_DEVICE (device);
|
FuVliUsbhubPdDevice *self = FU_VLI_USBHUB_PD_DEVICE (device);
|
||||||
fu_common_string_append_kv (str, idt, "ChipId",
|
fu_common_string_append_kv (str, idt, "ChipId",
|
||||||
fu_vli_usbhub_pd_chip_to_string (self->chip));
|
fu_vli_usbhub_pd_chip_to_string (self->chip));
|
||||||
|
fu_common_string_append_kx (str, idt, "FwOffset",
|
||||||
|
fu_vli_usbhub_pd_chip_get_offset (self->chip));
|
||||||
|
fu_common_string_append_kx (str, idt, "FwSize",
|
||||||
|
fu_vli_usbhub_pd_chip_get_size (self->chip));
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
Loading…
Reference in New Issue
Block a user