coreboot/src/drivers
Sean Rhodes 817394f12c Makefile.mk: generate EDK2 update capsule
Generate a signed UEFI capsule from the final coreboot ROM image using
EDK2 BaseTools.

When using an EDK2 payload and enabling DRIVERS_EFI_UPDATE_CAPSULES and
DRIVERS_EFI_GENERATE_CAPSULE, the build produces build/coreboot.cap once
the ROM is finalised (after all files were added to CBFS). The capsule
can also be generated explicitly with `make capsule`.

Move the capsule generation and certificate preparation into
payloads/external/edk2/Makefile, including generating the trusted root
certificate PCD include via BinToPcd.

Support capsule flows with an embedded FmpDxe driver by optionally
embedding FmpDxe.efi into generated capsules, and wiring the
embedded-driver Kconfig options through to the EDK2 payload build and
capsule generation.

Always set PersistAcrossReset on the capsule. Make InitiateReset
configurable (default off) because Linux rejects capsules with
InitiateReset when writing via /dev/efi_capsule_loader.

Use CONFIG_DRIVERS_EFI_MAIN_FW_VERSION for GenerateCapsule
--fw-version, but fall back to parsing a leading <major>.<minor> from
CONFIG_LOCALVERSION when it is left at 0. If
CONFIG_DRIVERS_EFI_MAIN_FW_LSV is 0, use the resolved firmware version.

Document capsule generation and embedded driver configuration.

Corresponding edk2 patches can be found at:
https://github.com/tianocore/edk2/pull/12053

Change-Id: I5f56b894d40ddb49f3158bb72f0143d0ebe9c34c
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90862
Reviewed-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2026-03-16 19:51:14 +00:00
..
acpi/thermal_zone
amd drivers/amd/opensil: Add hooks to populate CBMEM_ID_MEMINFO 2026-01-15 19:57:44 +00:00
ams
analogix/anx7625
asmedia
aspeed
broadcom
camera
crb
efi Makefile.mk: generate EDK2 update capsule 2026-03-16 19:51:14 +00:00
elog
emulation/qemu
generic drivers/generic/gpio_keys: Set ACPI status to HIDDEN 2026-02-04 21:00:26 +00:00
genesyslogic drivers/genesyslogic/gl9763e: Generate ACPI device for attached eMMC 2026-01-30 17:08:00 +00:00
gfx/generic drivers/gfx/generic: Add support for non-VGA devices 2025-12-17 20:24:43 +00:00
hwid_dmi drivers/hwid_dmi: Populate SMBIOS product name from CBFS hwid file 2025-11-23 20:07:54 +00:00
i2c drivers/i2c/rv3028c7: Use byte ops for i801 SMBus compatibility 2026-02-17 14:23:18 +00:00
intel drivers/intel/dtbt: Add discrete Thunderbolt driver 2026-02-17 14:23:40 +00:00
ipmi
lenovo mb/lenovo: Convert PNP device to generic device 2026-02-28 15:04:03 +00:00
maxim
mipi drivers/mipi: Add support for TG-XTI05101 panel 2026-02-04 11:22:05 +00:00
mrc_cache lib/xxhash: Move to commonlib/bsd 2025-12-20 17:35:33 +00:00
net
nxp/uwb
ocp
option drivers/option/cfr: Fix numeric default override 2026-01-28 13:37:52 +00:00
parade
pc80
pcie
ricoh/rce822
secunet/dmi
siemens/nc_fpga
sil/3114
smbus
smmstore drivers/smmstore: Use lookup_store() for memory-mapped reads 2026-01-10 21:46:55 +00:00
sof drivers/sof: Add support for tas2563 speaker topology 2025-11-12 14:37:11 +00:00
soundwire drivers/soundwire/cs42l43: Add optional properties for controlling jack and accessory detect 2025-10-18 18:31:16 +00:00
spi drivers/spi/flashconsole.c: Fix flashconsole 2026-02-28 15:05:21 +00:00
ti
tpm drivers/tpm: Remove duplicated op 2025-12-08 03:03:36 +00:00
uart
usb drivers/usb/acpi: Add DSM function 3 support for Intel Bluetooth 2026-02-28 15:05:45 +00:00
vpd drivers/vpd: Search VPD info at 0x0 first 2025-11-21 22:16:15 +00:00
wifi/generic
wwan/fm drivers/wwan/fm: Use _EVT method to enhance GPIO event handling 2026-01-07 16:25:22 +00:00