From c421ed6f819ac3140176a0c347d7fa6778465f9a Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Thu, 18 Apr 2024 15:30:19 +0800 Subject: amdfwtool: Add PSP backup directory for A/B recovery Change-Id: Ia5a745c86595554c83cd13a35c312c17987b716b Signed-off-by: Zheng Bao Reviewed-on: https://review.coreboot.org/c/coreboot/+/75682 Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- util/amdfwtool/amdfwtool.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/amdfwtool/amdfwtool.h') diff --git a/util/amdfwtool/amdfwtool.h b/util/amdfwtool/amdfwtool.h index 0e8ace6cfc..f87fbf56ce 100644 --- a/util/amdfwtool/amdfwtool.h +++ b/util/amdfwtool/amdfwtool.h @@ -163,7 +163,7 @@ typedef struct _embedded_firmware { uint32_t bios2_entry; struct second_gen_efs efs_gen; uint32_t bios3_entry; - uint32_t reserved_2Ch; + uint32_t psp_bak_directory; uint32_t promontory_fw_ptr; uint32_t lp_promontory_fw_ptr; uint32_t reserved_38h; @@ -455,7 +455,7 @@ typedef struct _context { uint8_t sub; } combo_apcb[MAX_COMBO_ENTRIES], combo_apcb_bk[MAX_COMBO_ENTRIES]; embedded_firmware *amd_romsig_ptr; - psp_directory_table *pspdir, *pspdir2, *pspdir2_b; + psp_directory_table *pspdir, *pspdir_bak, *pspdir2, *pspdir2_b; bios_directory_table *biosdir, *biosdir2, *biosdir2_b; psp_combo_directory *psp_combo_dir, *bhd_combo_dir; ish_directory_table *ish_a_dir, *ish_b_dir; -- cgit v1.2.3