summaryrefslogtreecommitdiffstats
path: root/util/amdfwtool/amdfwtool.h
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2022-04-08 14:19:55 -0600
committerFelix Held <felix-coreboot@felixheld.de>2022-04-14 15:39:15 +0000
commitad06bae7b195497227fbb54e5d073740db7616c4 (patch)
tree0ad183f945b06391d1664ab0ae6b270fd6ede6a8 /util/amdfwtool/amdfwtool.h
parent420ba8b7081757cda307891e7e80f8f2d6b3f762 (diff)
downloadcoreboot-ad06bae7b195497227fbb54e5d073740db7616c4.tar.gz
coreboot-ad06bae7b195497227fbb54e5d073740db7616c4.tar.bz2
coreboot-ad06bae7b195497227fbb54e5d073740db7616c4.zip
util/amdfwtool: Maintain one copy of PSP Level2 entries
AMDFWtool maintains 2 copies of PSP Level2 entries - one in primary slot A (Type 0x48) and another in backup slot B (Type 0x4A). On boards which use VBOOT with 2 RW firmware slots, maintaining 2 copies of PSP Level2 entries in each FW slot is redundant and space-consuming. Introduce option to maintain only one copy of PSP Level2 entries and point to it from both slots A & B. BUG=None TEST=Build and boot to OS in Skyrim. Ensure that only one copy is added to each FW slot. This achieved a space saving of 1.5 MB in each FW slot. Before: apu/amdfw 0x415fc0 raw 3043328 none After: apu/amdfw 0x415fc0 raw 1556480 none Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Change-Id: I06eef8e14b9c14db1d02b621c2f7207188d86326 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63509 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'util/amdfwtool/amdfwtool.h')
-rw-r--r--util/amdfwtool/amdfwtool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/amdfwtool/amdfwtool.h b/util/amdfwtool/amdfwtool.h
index d2571e58b366..22386386c952 100644
--- a/util/amdfwtool/amdfwtool.h
+++ b/util/amdfwtool/amdfwtool.h
@@ -279,6 +279,7 @@ typedef struct _amd_cb_config {
bool second_gen;
bool have_mb_spl;
bool recovery_ab;
+ bool recovery_ab_single_copy;
bool need_ish;
} amd_cb_config;