From 0e3d18b130639f0c292eb998e629339236b93979 Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Tue, 7 Mar 2023 15:28:57 +0800 Subject: amdfwtool: Add combo index and combo config table For now, combo index is 0, and only the first entry in config table is used. The index will grow when there are more combo entries. Add a command parameter to give fw.cfg for combo index 1. Process the combo config in the future loop. Change-Id: I00609d91defc08e17f937ac8339575f84b1bd37c Signed-off-by: Zheng Bao Reviewed-on: https://review.coreboot.org/c/coreboot/+/73496 Tested-by: build bot (Jenkins) Reviewed-by: Fred Reitberger --- util/amdfwtool/amdfwtool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/amdfwtool/amdfwtool.h') diff --git a/util/amdfwtool/amdfwtool.h b/util/amdfwtool/amdfwtool.h index 2ccb3e9a31..42a2c1d638 100644 --- a/util/amdfwtool/amdfwtool.h +++ b/util/amdfwtool/amdfwtool.h @@ -237,7 +237,7 @@ typedef struct _psp_combo_directory { psp_combo_entry entries[]; } __attribute__((packed, aligned(16))) psp_combo_directory; -#define MAX_COMBO_ENTRIES 1 +#define MAX_COMBO_ENTRIES 2 typedef struct _bios_directory_hdr { uint32_t cookie; -- cgit v1.2.3