fwupd/plugins/flashrom/fu-flashrom-lspcon-i2c-spi-device.h
Daniel Campello fe073a304d flashrom: add lspcon-i2c-spi programmer support
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.
2021-04-08 18:12:16 -06:00

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)