diff options
author | Zheng Bao <fishbaozi@gmail.com> | 2023-02-19 13:14:53 +0800 |
---|---|---|
committer | Fred Reitberger <reitbergerfred@gmail.com> | 2023-02-28 12:54:03 +0000 |
commit | da43c41f98dc38446e9c3726b54c84cdff8af374 (patch) | |
tree | c4033ec1e8809b1d04dd2f930e4d39e45f4f41ad /util/pmh7tool | |
parent | 222903e57a497f6d4b1b293e713caab66a23d862 (diff) |
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>
Diffstat (limited to 'util/pmh7tool')
0 files changed, 0 insertions, 0 deletions