summaryrefslogtreecommitdiff
path: root/util/amdfwtool/amdfwtool.h
diff options
context:
space:
mode:
authorFred Reitberger <reitbergerfred@gmail.com>2023-03-09 12:33:52 -0500
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2023-04-28 15:12:47 +0000
commita194e6252fbfd1ad47833c17f10dd289d5f32517 (patch)
treec9e1e85a94cf12fe6e50c5b5def54b198a77dbde /util/amdfwtool/amdfwtool.h
parentbf0b87d813b12a462b3eba6ae8604eb3a2cd8564 (diff)
amdfwtool: Increase MAX_PSP_ENTRIES
The MAX_PSP_ENTRIES constant reserves space for the psp directory table entries. This table is aligned to 4K and the next binary is also aligned to 4K. The number of psp directory entries on Birman exceeds the previous limit, so increase it to the maximum that will fit in a 4K block. TEST=timeless builds for Birman unchanged Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com> Change-Id: I297edc9cccffde0ad1ce7461b375542f9f2f7c23 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73653 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Bao Zheng <fishbaozi@gmail.com> Reviewed-by: Nikolai Vyssotski <nikolai.vyssotski@amd.corp-partner.google.com> Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Diffstat (limited to 'util/amdfwtool/amdfwtool.h')
-rw-r--r--util/amdfwtool/amdfwtool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/amdfwtool/amdfwtool.h b/util/amdfwtool/amdfwtool.h
index 03cc056a26..455c90efff 100644
--- a/util/amdfwtool/amdfwtool.h
+++ b/util/amdfwtool/amdfwtool.h
@@ -219,7 +219,7 @@ typedef struct _psp_directory_table {
psp_directory_entry entries[];
} __attribute__((packed, aligned(16))) psp_directory_table;
-#define MAX_PSP_ENTRIES 0x2f
+#define MAX_PSP_ENTRIES 0xff
typedef struct _psp_combo_header {
uint32_t cookie;