From 94f249254fab2002b68a21ca59ffc01124c840d5 Mon Sep 17 00:00:00 2001 From: Marshall Dawson Date: Sat, 28 Sep 2019 08:49:09 -0600 Subject: util/amdfwtool: Grow the Embedded Firmware Structure Ensure adequate space exists for all Embedded Firmware Structure fields. Field definitions are NDA only. See PID #55758 "AMD Platform Security Processor BIOS Architecture Design Guide for AMD Family 17h Processors". BUG=b:141790457 TEST=run on Mandolin Change-Id: I098ffc7c05d27387a877e6b7c8628d98939bd9af Signed-off-by: Marshall Dawson Reviewed-on: https://review.coreboot.org/c/coreboot/+/35667 Reviewed-by: Martin Roth Reviewed-by: Justin Frodsham Tested-by: build bot (Jenkins) --- util/amdfwtool/amdfwtool.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util/amdfwtool/amdfwtool.c') diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index 4c5b2163d4..2980622fc9 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -387,6 +387,8 @@ typedef struct _embedded_firmware { uint32_t comboable; uint32_t bios0_entry; /* todo: add way to select correct entry */ uint32_t bios1_entry; + uint32_t bios2_entry; + uint32_t reserved[0x2c]; /* 0x24 - 0x4f */ } __attribute__((packed, aligned(16))) embedded_firmware; typedef struct _psp_directory_header { -- cgit v1.2.3