coreboot/src
Grzegorz Bernacki 4aa31ac3f9 soc/amd/common/block/graphics: Add missing pci_rom_free()
pci_rom_probe() can allocate memory when mapping a CBFS
file, so pci_rom_free() should be called before leaving
the function.

BUG=b:278264488
TEST=Build and run with additional debug prints added
to confirm that data are correctly unmapped

Change-Id: Ie6fbbfd36f0974551befef4d08423a8148e151e7
Signed-off-by: Grzegorz Bernacki <bernacki@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74779
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Tim Van Patten <timvp@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Himanshu Sahdev <himanshu.sahdev@intel.com>
2023-06-02 21:49:45 +00:00
..
acpi acpi/acpigen: rename and clarify bus/IO/MMIO resource producer functions 2023-05-30 16:05:35 +00:00
arch libpayload;arch,cpu/x86: drop USE_MARCH_586 Kconfig option 2023-05-27 00:29:02 +00:00
commonlib commonlib/bsd/tpm_log_defs.h: replace macro with enum 2023-05-28 20:10:20 +00:00
console console: Deselect using ANSI escape characters when SimNow is used 2023-03-30 13:36:35 +00:00
cpu cpu/x86/mp_init: Use clflush to write SIPI data back to RAM 2023-05-31 14:22:31 +00:00
device device/pci: Limit default domain memory window 2023-06-01 13:11:33 +00:00
drivers drivers/ocp/vpd: Overwrite Linux payload's kernel command via VPD 2023-06-01 13:12:18 +00:00
ec ec/purism,system76: Provide probe for fixed Librem-EC jack detect 2023-05-26 14:57:27 +00:00
include device/pci_rom: Add simple pci_rom_free() 2023-06-02 21:48:58 +00:00
lib lib/ubsan.c: Restore Jonas' copyright 2023-05-22 12:33:32 +00:00
mainboard soc/intel/apollolake: Switch to snake case for SataPortsEnable 2023-06-02 17:58:46 +00:00
northbridge nb/intel/haswell: Allow using Broadwell MRC.bin 2023-05-23 08:25:00 +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 soc/amd/common/block/graphics: Add missing pci_rom_free() 2023-06-02 21:49:45 +00:00
southbridge nb/intel/haswell: Allow using Broadwell MRC.bin 2023-05-23 08:25:00 +00:00
superio superio/common: Support more than one SuperIO in ACPI 2023-05-26 19:21:12 +00:00
vendorcode vc/intel/fsp/fsp20/meteorlake: Add SaGvWpMask 2023-05-25 05:02:32 +00:00
Kconfig Kconfig: Group dependency on X86EMU_DEBUG 2023-05-02 18:49:50 +00:00