diff options
author | Grzegorz Bernacki <bernacki@google.com> | 2023-04-21 13:19:58 +0000 |
---|---|---|
committer | Matt DeVillier <matt.devillier@amd.corp-partner.google.com> | 2023-05-01 14:41:45 +0000 |
commit | 042ac352eaa97add631abe9f5c811f79209a2a2f (patch) | |
tree | 5c77be30086566636debad0461f39bb9120654e7 /src/soc/intel | |
parent | f127becbf145f46d076374d1f7b6be97c596e636 (diff) |
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>
Diffstat (limited to 'src/soc/intel')
0 files changed, 0 insertions, 0 deletions