Attention is currently required from: Zheng Bao.
Hello Zheng Bao,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/72959
to review the following change.
Change subject: amdfwtool: Support flash size 32M ......................................................................
amdfwtool: Support flash size 32M
The relative offset could be more than 16M if the flash size is 32M.
Change-Id: I9eea45f0be45a959c4150030e7e213923510ad68 Signed-off-by: Zheng Bao fishbaozi@gmail.com --- M util/amdfwtool/amdfwtool.c 1 file changed, 14 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/72959/1
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index 9b1caa3..26a07a4 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -2376,9 +2376,9 @@ return 1; }
- if (efs_location & 0xFF000000) + if (efs_location & 0xFE000000) efs_location = efs_location - rom_base_address; - if (body_location & 0xFF000000) + if (body_location & 0xFE000000) body_location = body_location - rom_base_address;
if (any_location) {