coreboot/src
Sergii Dmytruk 3794f9f94a drivers/efi/capsules.c: fix recording capsule size
As mentioned in comments on CB:83422, size of the current data
block (which is also the last block of a capsule) was incorrectly used
in place of the capsule size:
 - when publishing a capsule in CBMEM (this worked in practice because
   CapsuleApp.efi allocates a continuous physical memory)
 - when aligning target address (which could move output pointer past
   previously allocated buffer by up to 7 bytes per capsule block)

Change-Id: I97a528e2611fcd711c555d0f01e9aadcd2031217
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84542
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-03-01 23:29:54 +00:00
..
acpi acpi: Fix incorrect TPM2 table generation for CRB_TPM 2025-02-25 09:03:43 +00:00
arch arch/riscv: Add common FDT build 2025-02-14 17:11:19 +00:00
commonlib mb/emulation/qemu-riscv: Add support for 512 harts 2025-02-28 18:27:39 +00:00
console
cpu cpu/x86/64bit: Allow to map more of the address space 2025-02-26 17:11:59 +00:00
device device/dram/ddr5: Add 7500 MT/s support 2025-02-28 18:25:25 +00:00
drivers drivers/efi/capsules.c: fix recording capsule size 2025-03-01 23:29:54 +00:00
ec mb/google/brya/var/agah: Remove the AGAH DPTF OEM variant 2025-02-26 17:10:23 +00:00
include lib: Introduce early power off support Kconfig option 2025-02-15 18:59:11 +00:00
lib Kconfig: Rework SYSTEM_TYPE_XX to better map to SMBIOS 2025-02-19 16:45:42 +00:00
mainboard mb/starlabs/starbook/mtl: Correct GPP_D21 configuration 2025-03-01 23:29:16 +00:00
northbridge nb/intel/i440bx: Drop self-specific debugging macros 2025-01-29 18:41:53 +00:00
sbom
security drivers/pc80/tpm: Remove flag TPM_RDRESP_NEED_DELAY 2024-10-14 15:26:11 +00:00
soc soc/amd/glinda/cpu: Update smbios parameters 2025-03-01 23:29:35 +00:00
southbridge sb/intel/bd82x6x: Apply EHCI mapping to xhci_overcurrent_mapping 2025-01-21 05:01:14 +00:00
superio superio/ite: Add support for IT8625E 2024-11-21 15:49:12 +00:00
vendorcode drivers/amd/opensil/memmap.c: Factor out common memmap code to driver 2025-02-21 14:11:43 +00:00
Kconfig Kconfig: Update prompt and help text for CBFS_SIZE 2025-03-01 23:29:09 +00:00