coreboot/src
Grzegorz Bernacki 042ac352ea acpi: Add missing cbfs_unmap()
cbfs_map() can allocate memory, so cbfs_unmap() should be
called before leaving the function.

BUG=b:278264488
TEST=Built and run with additional debugs on Skyrim device
to confirm that data are correctly unmapped

Change-Id: Ibf7ba6842f42404ad8bb415f8e7fda10403cbe2e
Signed-off-by: Grzegorz Bernacki <bernacki@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74715
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jakub Czapiga <jacz@semihalf.com>
Reviewed-by: Tim Van Patten <timvp@google.com>
2023-05-01 14:41:45 +00:00
..
acpi acpi: Add missing cbfs_unmap() 2023-05-01 14:41:45 +00:00
arch ACPI: Make FADT entries for RTC/CMOS architectural 2023-04-29 01:20:54 +00:00
commonlib {commonlib, soc/intel/cmn/cse}: Store CSE firmware version into CBMEM 2023-04-21 17:22:00 +00:00
console console: Deselect using ANSI escape characters when SimNow is used 2023-03-30 13:36:35 +00:00
cpu treewide: Add missing include guards to chip.h 2023-04-28 13:38:33 +00:00
device lib/version: Move board identification strings 2023-04-22 16:20:49 +00:00
drivers treewide: Add missing include guards to chip.h 2023-04-28 13:38:33 +00:00
ec ec/starlabs/merlin: Change the fallback value for fn_ctrl_swap 2023-04-28 15:30:25 +00:00
include acpigen: Add a runtime method to override exposed _Sx sleep states 2023-05-01 06:38:36 +00:00
lib lib/version: Move board identification strings 2023-04-22 16:20:49 +00:00
mainboard mb/google/nissa/var/craask: avoid camera LED blinking during boot 2023-05-01 14:40:45 +00:00
northbridge AMD binaryPI: Use ACPI_COMMON_MADT_IOAPIC 2023-04-26 11:06:40 +00:00
sbom payloads/Yabits: Remove deprecated Yabits Payload 2023-02-17 01:21:43 +00:00
security security/tpm: make usage of PCRs configurable via Kconfig 2023-04-10 04:01:08 +00:00
soc sb,soc/amd,intel: Drop include <cpu/x86/smm.h> 2023-04-29 01:21:23 +00:00
southbridge acpigen: Add a runtime method to override exposed _Sx sleep states 2023-05-01 06:38:36 +00:00
superio treewide: Remove useless "_STA: Status" comment 2023-02-19 11:20:37 +00:00
vendorcode vendorcode/mediatek/mt8192: Cast enum types 2023-05-01 14:38:43 +00:00
Kconfig soc/intel: Don't report _S1 state when unsupported 2023-04-26 15:41:03 +00:00