From a194e6252fbfd1ad47833c17f10dd289d5f32517 Mon Sep 17 00:00:00 2001 From: Fred Reitberger Date: Thu, 9 Mar 2023 12:33:52 -0500 Subject: [PATCH] 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 Change-Id: I297edc9cccffde0ad1ce7461b375542f9f2f7c23 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73653 Tested-by: build bot (Jenkins) Reviewed-by: Bao Zheng Reviewed-by: Nikolai Vyssotski Reviewed-by: Martin Roth --- util/amdfwtool/amdfwtool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;