aboutsummaryrefslogtreecommitdiff
path: root/util/amdfwtool/amdfwtool.h
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2023-03-07 15:28:57 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-03-10 13:41:16 +0000
commit0e3d18b130639f0c292eb998e629339236b93979 (patch)
treebcb692f8595b3a1adc40b28b7a843cf446a01075 /util/amdfwtool/amdfwtool.h
parent39cae56c41a9c93aff15c8d0e0247cdc6a89ec04 (diff)
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 <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/73496 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.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 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;