mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-03 17:04:54 +00:00

This is being used for other products, e.g. USB4 docks. If non-Intel firmware is being used (e.g. ASMedia) then the explicit calls to `fu_intel_thunderbolt_nvm_new()` can be changed to something like `fu_firmware_new_from_gtypes()` with all the formats listed.
27 lines
687 B
C
27 lines
687 B
C
/*
|
|
* Copyright (C) 2021 Dell Inc.
|
|
* Copyright (C) 2020 Richard Hughes <richard@hughsie.com>
|
|
* Copyright (C) 2020 Mario Limonciello <mario.limonciello@dell.com>
|
|
* Copyright (C) 2017 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "fu-intel-thunderbolt-nvm.h"
|
|
|
|
#define FU_TYPE_INTEL_THUNDERBOLT_FIRMWARE (fu_intel_thunderbolt_firmware_get_type())
|
|
G_DECLARE_DERIVABLE_TYPE(FuIntelThunderboltFirmware,
|
|
fu_intel_thunderbolt_firmware,
|
|
FU,
|
|
INTEL_THUNDERBOLT_FIRMWARE,
|
|
FuIntelThunderboltNvm)
|
|
|
|
struct _FuIntelThunderboltFirmwareClass {
|
|
FuIntelThunderboltNvmClass parent_class;
|
|
};
|
|
|
|
FuFirmware *
|
|
fu_intel_thunderbolt_firmware_new(void);
|