fwupd/plugins/intel-spi
Richard Hughes aaa77c6f51 Allow adding and removing custom flags on devices
The CustomFlags feature is a bit of a hack where we just join the flags
and store in the device metadata section as a string. This makes it
inefficient to check if just one flag exists as we have to split the
string to a temporary array each time.

Rather than adding to the hack by splitting, appending (if not exists)
then joining again, store the flags in the plugin privdata directly.

This allows us to support negating custom properties (e.g. ~hint) and
also allows quirks to append custom values without duplicating them on
each GUID match, e.g.

[USB\VID_17EF&PID_307F]
Plugin = customflag1
[USB\VID_17EF&PID_307F&HUB_0002]
Flags = customflag2

...would result in customflag1,customflag2 which is the same as you'd
get from an enumerated device flag doing the same thing.
2021-06-23 07:59:15 +01:00
..
fu-efi-common.c trivial: Standardize on introspection for @error and @cancellable 2021-04-28 16:19:50 +01:00
fu-efi-common.h trivial: Rename spi to intel-spi as it's all Intel specific 2021-03-20 12:24:27 +00:00
fu-efi-firmware-common.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-efi-firmware-common.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-efi-firmware-file.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-efi-firmware-file.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-efi-firmware-filesystem.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-efi-firmware-filesystem.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-efi-firmware-section.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-efi-firmware-section.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-efi-firmware-volume.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-efi-firmware-volume.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-ifd-bios.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-ifd-bios.h trivial: Rename spi to intel-spi as it's all Intel specific 2021-03-20 12:24:27 +00:00
fu-ifd-common.c trivial: Standardize on introspection for @error and @cancellable 2021-04-28 16:19:50 +01:00
fu-ifd-common.h intel-spi: Allow downloading the firmware image from the eSPI controller 2021-04-01 21:56:35 +01:00
fu-ifd-device.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-ifd-device.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-ifd-firmware.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-ifd-firmware.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-ifd-image.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-ifd-image.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-intel-spi-common.c intel-spi: Allow downloading the firmware image from the eSPI controller 2021-04-01 21:56:35 +01:00
fu-intel-spi-common.h intel-spi: Allow downloading the firmware image from the eSPI controller 2021-04-01 21:56:35 +01:00
fu-intel-spi-device.c Allow adding and removing custom flags on devices 2021-06-23 07:59:15 +01:00
fu-intel-spi-device.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-pci-device.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-pci-device.h trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-plugin-intel-spi.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
fu-self-test.c trivial: fixup includes for a variety of plugins 2021-06-14 10:12:45 +01:00
generate-quirk.py intel-spi: Allow downloading the firmware image from the eSPI controller 2021-04-01 21:56:35 +01:00
intel-spi.quirk intel-spi: Allow downloading the firmware image from the eSPI controller 2021-04-01 21:56:35 +01:00
meson.build intel-spi: Allow downloading the firmware image from the eSPI controller 2021-04-01 21:56:35 +01:00
README.md trivial: Rename spi to intel-spi as it's all Intel specific 2021-03-20 12:24:27 +00:00

SPI

Introduction

This plugin verifies the SPI contents, typically an Intel Flash descriptor. The result will be stored in an security attribute for HSI.

External interface access

This plugin requires read access to /dev/port and thus will not work if the kernel is locked down.