fwupd/plugins/coreboot/fu-plugin-coreboot.h
Patrick Rudolph b21c3af2ea plugins/coreboot: Improve version detection
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>
2019-11-27 14:26:26 +00:00

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);