util/amdfwtool: Add option to indicate uncompressed BIOS binary
commitbd9dd420d7e0e5c2acb4073c0f4b3faec4d31ec8
authorKarthikeyan Ramasubramanian <kramasub@google.com>
Thu, 22 Dec 2022 22:45:56 +0000 (22 15:45 -0700)
committerFelix Held <felix-coreboot@felixheld.de>
Thu, 9 Mar 2023 21:41:31 +0000 (9 21:41 +0000)
tree16ad4613b99cde2ddbe41c603075dadcf3aac72b
parent665d870244a26e28e445ac8e6945ddf986d9050a
util/amdfwtool: Add option to indicate uncompressed BIOS binary

amdfwtool always assumes that the PSP BIOS binary (type 0x62 BIOS
directory entry) is always compressed. On boards using vboot, sometimes
PSP BIOS binary is uncompressed - specifically when CBFS verification is
enabled and verified boot starts in bootblock. Add an option to indicate
PSP BIOS binary is uncompressed.

BUG=b:261792282
TEST=Build Skyrim BIOS with x86 verstage and CBFS Verification enabled.
Boot to OS.

Change-Id: I4d56c0ba451b194043ebb5cdb0f2b27482beef1f
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71210
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
util/amdfwtool/amdfwtool.c