mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-16 00:23:36 +00:00

Only on Lenovo devices the DMI version string is prefixed with CBETxxxx to make the thinkpad_acpi kernel module happy. Add a new quirk called "CorebootVersionQuirks" to detect platforms that need to cut of the prefix. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
17 lines
469 B
C
17 lines
469 B
C
/*
|
|
* Copyright (C) 2019 9elements Agency GmbH <patrick.rudolph@9elements.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "fu-plugin.h"
|
|
#include "fu-device.h"
|
|
|
|
gchar *fu_plugin_coreboot_version_string_to_triplet (const gchar *coreboot_version,
|
|
GError **error);
|
|
gchar *fu_plugin_coreboot_get_name_for_type (FuPlugin *plugin,
|
|
const gchar *vboot_partition);
|
|
gchar *fu_plugin_coreboot_get_version_string (FuPlugin *plugin);
|