coreboot/src/drivers
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/thermal_zone tree: Remove unused <string.h> 2024-05-29 10:34:08 +00:00
amd drivers/amd/opensil/memmap.c: Factor out common memmap code to driver 2025-02-21 14:11:43 +00:00
ams drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
analogix/anx7625 commonlib: Change GCD function to always use 64 bits 2024-02-08 13:13:58 +00:00
asmedia drivers/asmedia/asm1061: Align = only with tabs and not spaces 2025-02-10 15:14:32 +00:00
aspeed drivers/aspeed/common: Add AST2600 support 2024-09-26 15:09:17 +00:00
broadcom
camera drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
crb drivers/crb: Always generate TPM ACPI Tables 2025-02-25 09:03:46 +00:00
efi drivers/efi/capsules.c: fix recording capsule size 2025-03-01 23:29:54 +00:00
elog
emulation/qemu drivers/qemu/bochs: Use arch-independent data port 2025-02-14 17:10:10 +00:00
generic tree: Remove unused <string.h> 2024-05-29 10:34:08 +00:00
genesyslogic tree: Drop duplicated <device/{path,resource}.h> 2024-04-12 04:24:20 +00:00
gfx/generic drivers/gfx/generic: Don't set DOD constraints when generating device address 2024-06-13 11:46:53 +00:00
i2c drivers/i2c/at24rf08c: Disable DRIVER_LENOVO_SERIALS by default 2024-09-30 11:09:34 +00:00
intel drivers/intel/fsp2_0: Add early low-battery shutdown during memory init 2025-02-25 17:38:22 +00:00
ipmi drivers/ipmi/ocp: Add missing include 2024-12-05 04:47:02 +00:00
lenovo drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
maxim
mipi drivers/mipi: Add support for CSOT_PNA957QT1_1 panel 2025-01-29 18:26:50 +00:00
mrc_cache drivers/mrc_cache: Deselect MRC_CACHE_USING_MRC_VERSION by default 2024-03-01 14:22:21 +00:00
net drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
nxp/uwb tree: Remove unused <string.h> 2024-05-29 10:34:08 +00:00
ocp drivers/ocp/ewl: Remove space after a cast 2024-10-09 17:27:37 +00:00
option CFR: Add min/max/step values and hex display flag for number options 2025-02-07 22:00:01 +00:00
parade
pc80 drivers/pc80/pc/keyboard.c: Add function to change a command byte bit 2025-01-22 20:45:37 +00:00
pcie drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
ricoh/rce822 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
secunet/dmi drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
siemens/nc_fpga drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
sil/3114 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
smbus console/i2c_smbus: Allow to send data w/o register offset 2024-07-11 00:06:22 +00:00
smmstore tree: Remove unused <bootstate.h> 2024-11-21 04:27:13 +00:00
sof tree: Drop duplicated <device/{path,resource}.h> 2024-04-12 04:24:20 +00:00
soundwire drivers/soundwire/alc711: Add common Kconfig for ALC7xx soundwire codecs 2024-12-06 00:23:27 +00:00
spi drivers/spi: add RPMC support 2024-12-03 17:40:39 +00:00
ti
tpm drivers/tpm: Remove unused 2nd argument in FUNC method 2024-10-02 11:50:52 +00:00
uart drivers/uart: Replace 'unsigned long int' by 'unsigned long' 2025-01-08 03:09:36 +00:00
usb driver/usb/intel_bluetooth: Add PS0 and PS3 methods 2025-02-28 08:49:02 +00:00
vpd drivers/vpd: Add vpd_get_feature_level() API 2024-03-05 10:17:00 +00:00
wifi/generic drivers/wifi/generic: Add Methods to control CNVi enable GPIO 2025-02-28 08:43:34 +00:00
wwan/fm drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00