From 30ce0f383f2f3cf47e3f8cef2ea4ce2f7b478be9 Mon Sep 17 00:00:00 2001 From: Rob Barnes Date: Thu, 5 Mar 2020 13:09:32 -0700 Subject: util/amdfwtool: Fix MAX_PSP_ENTRIES value Had to increase MAX_PSP_ENTRIES to accommodate the 16 APCBs we have the ability to add. BUG=b:150862063 TEST=Boot Trembyle BRANCH=None Signed-off-by: Rob Barnes Change-Id: I64eccfa28839768788f53327caf187a564842162 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+/2090323 Reviewed-by: Raul E Rangel Reviewed-on: https://review.coreboot.org/c/coreboot/+/41580 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- util/amdfwtool/amdfwtool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/amdfwtool/amdfwtool.c') diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index 42c63f1cf1..71da6fb7f2 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -479,7 +479,7 @@ typedef struct _bios_directory_table { bios_directory_entry entries[]; } bios_directory_table; -#define MAX_BIOS_ENTRIES 0x22 +#define MAX_BIOS_ENTRIES 0x2e typedef struct _context { char *rom; /* target buffer, size of flash device */ -- cgit v1.2.3