summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorRob Barnes <robbarnes@google.com>2020-03-05 13:09:32 -0700
committerFelix Held <felix-coreboot@felixheld.de>2020-05-21 22:30:27 +0000
commit30ce0f383f2f3cf47e3f8cef2ea4ce2f7b478be9 (patch)
tree6a286cea4aecf0eeba770adf6ac5f281e61c4735 /util
parent6de79b9a1dedfb36e30a932f300de4ad8a5d27b4 (diff)
downloadcoreboot-30ce0f383f2f3cf47e3f8cef2ea4ce2f7b478be9.tar.xz
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 <robbarnes@google.com> Change-Id: I64eccfa28839768788f53327caf187a564842162 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+/2090323 Reviewed-by: Raul E Rangel <rrangel@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41580 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util')
-rw-r--r--util/amdfwtool/amdfwtool.c2
1 files changed, 1 insertions, 1 deletions
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 */