summaryrefslogtreecommitdiff
path: root/3rdparty/qc_blobs
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2022-08-08 22:14:27 -0600
committerRaul Rangel <rrangel@chromium.org>2022-10-26 15:55:22 +0000
commit852c5dc101797ecf0ca2d49adcfcead79a5d86e5 (patch)
treef3149149f41a95eed9ffcf059c2c5bb3007b40e8 /3rdparty/qc_blobs
parente33377250cf82b94dde4214bb100bd2742c9f6b3 (diff)
util/amdfwtool/amdfwread: Update relative_offset function
* AMD_ADDR_PHYSICAL refers to physical address in the memory map * AMD_ADDR_REL_BIOS is relative to the start of the BIOS image * AMD_ADDR_REL_TAB is relative to the start of concerned PSP or BIOS tables Update the relative_offset implementation accordingly. Though AMD_ADDR_REL_SLOT is defined it is not used. Removing that to simplify the relative_offset implementation so that it can be used for both PSP and BIOS firmware tables. Hence update the relative_offset function signature as well. BUG=None TEST=Build and use amdfwread to read the Soft-fuse bits from Guybrush BIOS image. Observed no changes before and after the changes. Change-Id: I74603dd08eda87393c14b746c4435eaf2bb34126 Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/66572 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to '3rdparty/qc_blobs')
0 files changed, 0 insertions, 0 deletions