coreboot-kgpe-d16/util/amdfwtool
Karthikeyan Ramasubramanian 8d88561235 util/amdfwtool: Support not passing recovery/backup APCB
If Recovery/Backup APCB is not passed, then AMD_BIOS_APCB_BK entry is
not populated. But PSP expects that bios directory entry to be
populated. Also on mainboards where both APCB and recovery APCB are same
(eg. Skyrim), 2 copies of the same APCB are added to amdfw*.rom. Update
amdfwtool to support not passing recovery/backup APCB. If the recovery
APCB is not passed, then populate AMD_BIOS_APCB_BK entry and make it
point to the same offset as AMD_BIOS_APCB entry.

BUG=b:240696002
TEST=Build and boot to OS in Skyrim. Ensure that the device can enter
recovery mode. Perform multiple suspend/resume cycles.

Change-Id: I031ba817573cd35160f5e219b1b373ddce69aa6b
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73661
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-03-15 17:30:15 +00:00
..
.gitignore util/amdfwtool: Add amdfwread utility 2022-05-13 15:51:37 +00:00
Makefile util/amdfwtool: Generate hashes for signed AMDFW components 2022-10-02 22:13:38 +00:00
Makefile.inc util/amdfwtool: Add build rules for amdfwread 2022-10-26 15:56:37 +00:00
amdfwread.c util/amdfwtool/amdfwread: List AMDFW RO binary entries 2022-10-26 15:56:18 +00:00
amdfwtool.c util/amdfwtool: Support not passing recovery/backup APCB 2023-03-15 17:30:15 +00:00
amdfwtool.h util/amdfwtool: Support not passing recovery/backup APCB 2023-03-15 17:30:15 +00:00
data_parse.c amdfwtool: Remove the option --list which nobody uses 2023-03-10 16:14:12 +00:00
description.md