diff options
author | Zheng Bao <fishbaozi@gmail.com> | 2024-04-05 18:33:02 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-09-12 17:04:05 +0000 |
commit | b46bd95ccdec355d446b3fd49ace89710cb4d6f2 (patch) | |
tree | 6e95092ee3f40c609516265d991fa1a9eadd9d46 /LICENSES/GPL-2.0-only.txt | |
parent | f3b698462975a5b23004affca45a6dd1a3ff46a6 (diff) |
amdfwtool: Set the fields when the header is created
The fields spi_block_size and base_addr of regular PSP header, lookup
and reserved of combo header, are constants. So we
move the setting statements to the creation functions.
Only update the count, size and fletcher in later function
file_dir_header.
TEST=Binary identical test on all AMD SOC platforms
Change-Id: I55c400e45536a57841b01d7c90d3fef9afa53e78
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84130
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'LICENSES/GPL-2.0-only.txt')
0 files changed, 0 insertions, 0 deletions