mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-10 23:18:24 +00:00

Created lspcon-i2c-spi flashrom device that uses udev to detect i2c devices that can be updated with the lspcon-i2c-spi flashrom programmer. This change implements the logic from crrev.com/c/2792124 adapted to the upstream flashrom plugin.
16 lines
413 B
C
16 lines
413 B
C
/*
|
|
* Copyright (C) 2021 Daniel Campello <campello@chromium.org>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "fu-flashrom-device.h"
|
|
|
|
#define FU_TYPE_FLASHROM_LSPCON_I2C_SPI_DEVICE \
|
|
(fu_flashrom_lspcon_i2c_spi_device_get_type ())
|
|
G_DECLARE_FINAL_TYPE (FuFlashromLspconI2cSpiDevice,
|
|
fu_flashrom_lspcon_i2c_spi_device, FU,
|
|
FLASHROM_LSPCON_I2C_SPI_DEVICE, FuFlashromDevice)
|