diff options
author | Karthikeyan Ramasubramanian <kramasub@google.com> | 2023-05-25 15:58:25 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-05-27 01:59:26 +0000 |
commit | d6f73972cf7a1424ac81ffa5576aa233fb4d9b52 (patch) | |
tree | a9b23544c6896419ea5e588821f0fe3584a734ce /src/mainboard/google/cherry/mainboard.c | |
parent | 01c9dfbae63aaf36d35085dd004c67f09af5fad5 (diff) |
soc/amd/mendocino/psp_verstage: Fix pending maps
cbfs_unmap does not unmap the mapped region from the boot device. This
leads to some resource leaks eg. TLB slots in PSP. Explicitly call
rdev_munmap on the address mapped by cbfs_map.
BUG=b:240664755
TEST=Build and boot to OS in Skyrim with unsigned PSP verstage.
Change-Id: I51b9d066a40103f2ebdf2ef2fc3da13beb467921
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75454
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/mainboard/google/cherry/mainboard.c')
0 files changed, 0 insertions, 0 deletions