summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/CommonDataClass
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2026-07-14 09:34:25 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-10-08 20:00:41 +0300
commitc5dfd62aeeb0d4f24d3e41b4f6631f2bd934f654 (patch)
tree6a1d9fd9bcb2dbe7dd1e70cc8e151a01927cee49 /BaseTools/Source/Python/CommonDataClass
parentcb84ec9eff66f7fcbf3e34457320770c281cdc2d (diff)
downloadedk2-c5dfd62aeeb0d4f24d3e41b4f6631f2bd934f654.tar.xz
UefiPayloadPkg: Set bootmode from bootloader
The coreboot bootloader always passes information about the boot mode since commit [1]. Use the new coreboot table when present to update the bootmode. When the table is not present or contains unknown values the bootmode is not updated. This allows to support UEFI capsule updates that need the whole SPI flash to be unlocked. Since this is also a security concern the payload should never follow the regular boot flow, but reboot the system when done. 1: https://review.coreboot.org/c/coreboot/+/94094/ TEST=Can update the system using UEFI capsule on disk. coreboot detects the capsule and unlocks the SPI flash, sets the boot mode to LB_BOOT_MODE_FLASH_UPDATE and UefiPayload updates BootMode in the HOB handoff table allowing the capsule update code to run. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Diffstat (limited to 'BaseTools/Source/Python/CommonDataClass')
0 files changed, 0 insertions, 0 deletions