From 3a6ab474e0dbb92916d09fe3a8a7321cbe1511bf Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Mon, 28 Mar 2022 19:57:18 +0800 Subject: amdfwtool: Clear the whole byte of EFS_GEN Change-Id: I434e031e906f73362b1e920e034fa15a8d078ab2 Signed-off-by: Zheng Bao Reviewed-on: https://review.coreboot.org/c/coreboot/+/63138 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- util/amdfwtool/amdfwtool.c | 1 + 1 file changed, 1 insertion(+) (limited to 'util') diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index f0fdd0af93..0cfe307b2f 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -1785,6 +1785,7 @@ int main(int argc, char **argv) amd_romsig->imc_entry = 0; amd_romsig->gec_entry = 0; amd_romsig->xhci_entry = 0; + amd_romsig->efs_gen.reserved = 0; if (soc_id != PLATFORM_UNKNOWN) { retval = set_efs_table(soc_id, amd_romsig, efs_spi_readmode, -- cgit v1.2.3