]> git.proxmox.com Git - fwupd.git/commit
ccgx: Detect factory mode and set a non-zero version
authorRichard Hughes <richard@hughsie.com>
Thu, 2 Feb 2023 14:22:07 +0000 (14:22 +0000)
committerMario Limonciello <mario.limonciello@amd.com>
Thu, 23 Feb 2023 19:04:11 +0000 (13:04 -0600)
commit1aac6646f0c7a1a9689dc3e386cc5e24308b95a0
tree48d7058934d91d0b447e1d875254e3b46a19f508
parent47f073259099b787d4e22a5bcc27b8093a11da06
ccgx: Detect factory mode and set a non-zero version

The Element Hub (and several other docks that use the CCGX5 DMC reference
design) is in "factory mode" out of the box, displaying a version of `0.0.0.0`

Detect factory mode and set a non-zero version -- using the "real" version if
possible by matching the CCG5 devx base firmware firmware.
plugins/ccgx/README.md
plugins/ccgx/fu-ccgx-dmc-common.c
plugins/ccgx/fu-ccgx-dmc-common.h
plugins/ccgx/fu-ccgx-dmc-device.c
plugins/ccgx/fu-ccgx-dmc-devx-device.c [new file with mode: 0644]
plugins/ccgx/fu-ccgx-dmc-devx-device.h [new file with mode: 0644]
plugins/ccgx/meson.build