From 665789b61bc39de67d3f17288bacb4662434e251 Mon Sep 17 00:00:00 2001 From: Duggapu Chinni B Date: Tue, 9 Apr 2024 22:23:10 +0530 Subject: IntelFsp2WrapperPkg: Fsp T UPD Structure Bug Fix Add reserved bytes as per the latest spec. Cc: Sai Chaganty Cc: Nate DeSimone Cc: Chiu Chasel Cc: Duggapu Chinni B Cc: Ni Ray Signed-off-by: Duggapu Chinni B Reviewed-by: Chiu Chasel Reviewed-by: Nate DeSimone --- .../Library/SecFspWrapperPlatformSecLibSample/SecRamInitData.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecRamInitData.c b/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecRamInitData.c index f4ed658674..dabcd83eef 100644 --- a/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecRamInitData.c +++ b/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecRamInitData.c @@ -34,8 +34,11 @@ GLOBAL_REMOVE_IF_UNREFERENCED CONST FSPT_UPD_CORE_DATA FsptUpdDataPtr = { // UPD header revision must be equal or greater than 2 when the structure is compliant with FSP spec 2.2. // 0x02, - { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } + { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00 + } }, // // If FSP spec version < 2.2, remove FSPT_ARCH_UPD structure. -- cgit v1.2.3