util/amdfwtool: Fix APOB_NV quirk
Fixes commit "util/amdfwtool: Move APOB_NV quirk to amdfwtool.c". Allow the AMD_BIOS_NV_ST and AMD_BIOS_APOB_NV to end at 16MiB. Fixes a build failure when the region is last in the FMAP. Change-Id: Icfa5b74e98223ff5864299d4e9a2d23606935b80 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/91820 Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
e57478e238
commit
36a4d92239
1 changed files with 1 additions and 1 deletions
|
|
@ -1484,7 +1484,7 @@ static void integrate_bios_firmwares(context *ctx,
|
|||
* using an MMIO address is then not as simply as adding
|
||||
* the SPI_ROM_BASE offset anymore.
|
||||
*/
|
||||
if (fw_table[i].src + fw_table[i].size >= 16*MiB) {
|
||||
if (fw_table[i].src + fw_table[i].size > 16*MiB) {
|
||||
fprintf(stderr,
|
||||
"APOB_NV location too high (0x%lx + 0x%lx)\n",
|
||||
fw_table[i].src, fw_table[i].size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue