diff options
author | Marshall Dawson <marshalldawson3rd@gmail.com> | 2019-02-23 16:41:35 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-03-07 15:58:42 +0000 |
commit | c38c0c91aa5182da0874c55e92596d234e1cb1a7 (patch) | |
tree | b0490af5d92c4208774966310281bd078cee0bf0 /util/msrtool/freebsd.c | |
parent | c9b7d1fb57787d7037a5bce031a1300d13f5df40 (diff) |
util/amdfwtool: Fix iteration of PSP firmwares
Correct an oversight in the utility that attempts to match up eligible
PSP directory table entries with blob names passed on the command
line. A 1:1 matchup of items shouldn't be assumed, so the i iterator
shouldn't be used to walk both lists.
This change has no effect on google/grunt (Family 15h Models 70h-7Fh),
but eliminates blank entries of all FF's on builds of amd/bettong
(F15h 60h-6Fh) and pcengines/apu2 (F16h 30h-3Fh). Removal of entries
also affects the checksum accordingly.
TEST=Build before/after images for grunt, bettong, apu2, and diff
hexdumps of the amdfw.rom files
Change-Id: I13e359d3cc6f5ce408bbf077feec3707ee2b3838
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31726
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/msrtool/freebsd.c')
0 files changed, 0 insertions, 0 deletions