coreboot-kgpe-d16/util/amdfwtool
Karthikeyan Ramasubramanian ad06bae7b1 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>
2022-04-14 15:39:15 +00:00
..
.gitignore .gitignore: Ignore .test/.dependencies globally 2020-10-31 18:21:36 +00:00
Makefile amdfwtool: Add ISH header support for A/B recovery layout 2022-03-27 15:24:15 +00:00
Makefile.inc amdfwtool: Add ISH header support for A/B recovery layout 2022-03-27 15:24:15 +00:00
amdfwtool.c util/amdfwtool: Maintain one copy of PSP Level2 entries 2022-04-14 15:39:15 +00:00
amdfwtool.h util/amdfwtool: Maintain one copy of PSP Level2 entries 2022-04-14 15:39:15 +00:00
data_parse.c util/amdfwtool/data_parse: fix SPL table handling regression 2022-04-03 17:06:48 +00:00
description.md