amdfwtool: Set address mode of BIOS binary as context defines
Other types of FWs in the BIOS table are defined by context. So the BIOS binary should follow that. TEST=Binary identical test on platforms before mendocino Tested on Skyrim Change-Id: I9c2f2983d03c913b28fbd87aa0925a32a4649d62 Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85466 Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
50178229ff
commit
3856d0fa90
1 changed files with 2 additions and 2 deletions
|
|
@ -1453,9 +1453,9 @@ static void integrate_bios_firmwares(context *ctx,
|
|||
}
|
||||
|
||||
biosdir->entries[count].source =
|
||||
RUN_CURRENT_MODE(*ctx, AMD_ADDR_REL_BIOS);
|
||||
RUN_CURRENT(*ctx);
|
||||
biosdir->entries[count].address_mode =
|
||||
SET_ADDR_MODE(biosdir, AMD_ADDR_REL_BIOS);
|
||||
SET_ADDR_MODE_BY_TABLE(biosdir);
|
||||
|
||||
adjust_current_pointer(ctx, bytes, 0x100U);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue