summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2019-09-25 11:03:53 -0600
committerMartin Roth <martinroth@google.com>2019-10-20 22:09:47 +0000
commit0581bf6a75b2b0582930eeaf660d961c28dd78bd (patch)
tree2867a94b6c1bf92ae663d951cab76460c263beb3 /util
parent7a9e894550c4b1893ad7ca76911649051f817814 (diff)
util/amdfwtool: Add holding locations for more APCBs
Increase the number of potential APCB images to 5 by adding to the amd_bios_table. New instance IDs are from 0 to 4. The backup APCB block (type 0x68) still supports only instance ID 0. Change-Id: Ib70dc6417fecf94549a0c7df36ea42f63331be26 Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36120 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util')
-rw-r--r--util/amdfwtool/amdfwtool.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c
index 2980622fc9..02564cf5ba 100644
--- a/util/amdfwtool/amdfwtool.c
+++ b/util/amdfwtool/amdfwtool.c
@@ -357,7 +357,11 @@ static amd_fw_entry amd_fw_table[] = {
};
static amd_bios_entry amd_bios_table[] = {
- { .type = AMD_BIOS_APCB, .level = BDT_BOTH },
+ { .type = AMD_BIOS_APCB, .inst = 0, .level = BDT_BOTH },
+ { .type = AMD_BIOS_APCB, .inst = 1, .level = BDT_BOTH },
+ { .type = AMD_BIOS_APCB, .inst = 2, .level = BDT_BOTH },
+ { .type = AMD_BIOS_APCB, .inst = 3, .level = BDT_BOTH },
+ { .type = AMD_BIOS_APCB, .inst = 4, .level = BDT_BOTH },
{ .type = AMD_BIOS_APCB_BK, .level = BDT_BOTH },
{ .type = AMD_BIOS_APOB, .level = BDT_BOTH },
{ .type = AMD_BIOS_BIN,