coreboot-kgpe-d16/util/amdfwtool
Zheng Bao da43c41f98 amdfwtool: Fill the address in EFS header as "relative to BIOS"
If ctx.address_mode is "physical", it will keep as "physical".
If ctx.address_mode is "relative to table", it will be changed as
"relative to BIOS".

Because the "current table" is the whole flash, the code worked well.

TEST=Binary identical test on amd/birman amd/chausie amd/majolica
amd/gardenia pcengines/apu2 amd/mandolin

Change-Id: I9acb54cc5de149d8a705bb05bf351c44b7d3ced1
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73120
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
2023-02-28 12:54:03 +00:00
..
.gitignore util/amdfwtool: Add amdfwread utility 2022-05-13 15:51:37 +00:00
amdfwread.c util/amdfwtool/amdfwread: List AMDFW RO binary entries 2022-10-26 15:56:18 +00:00
amdfwtool.c amdfwtool: Fill the address in EFS header as "relative to BIOS" 2023-02-28 12:54:03 +00:00
amdfwtool.h amdfwtool: Move soc_id to cb_config 2023-02-10 12:45:00 +00:00
data_parse.c amdfwtool: Put soc name setting to fw.cfg from command line 2023-02-11 12:58:17 +00:00
description.md
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