From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web12.5296.1651884535345111175 for ; Fri, 06 May 2022 17:48:55 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=Nw9Z3Ark; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: guo.dong@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651884535; x=1683420535; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=OhAqlHp5NnJPmbrVllav5bAK5wJlBe/uAuslrNoUKRI=; b=Nw9Z3Ark5QO++UC2ejzAg3ZWWnn2oFdkO4bSMeoHmJhUVNucaF8/TS3Y 60yIgqzJha15Uh5ANGZLYe1yRgu2rx3m3GrUCaDG9k/hYTytGagvAQ6Wb Pu4jralzlcmRH7RnUVk9+dJS1bUDJYV0e09hDZ+lD7071144q7XJk4cUy vWEF0diOnYmAFaM7ahZrjbGjGh1HWIPJQaf3NVESVONy/lXu9HPqVcEaY yYMd/fnR929zow98CZ6tVEFNIhUorlPK+Hj/Lb+LljCKvwJ6Z4kj69EZp OPhrWap0LdXJCb+ZZWUn3dRGjYcTC9KScrNYkDZ04F86G4lHkuaYAYgsG A==; X-IronPort-AV: E=McAfee;i="6400,9594,10339"; a="329163192" X-IronPort-AV: E=Sophos;i="5.91,205,1647327600"; d="scan'208";a="329163192" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2022 17:48:54 -0700 X-IronPort-AV: E=Sophos;i="5.91,205,1647327600"; d="scan'208";a="892078648" Received: from gdong1-mobl1.amr.corp.intel.com ([10.212.1.139]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2022 17:48:54 -0700 From: "Guo Dong" To: devel@edk2.groups.io Cc: Guo Dong Subject: [edk2-devel][edk2-platforms][PATCH V2 0/1] Add PlatformPayloadPkg Date: Fri, 6 May 2022 17:48:39 -0700 Message-Id: <20220507004840.153-1-guo.dong@intel.com> X-Mailer: git-send-email 2.35.1.windows.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Guo Dong changes from patch V1: a) Change package name from PayloadPlatformPkg to PlatformPayloadPkg b) Put PlatformPayloadPkg to Features/Intel instead of Platform/Intel c) Reuse DSC/FDF files from MinPlatforms d) Following Features orgnaizaion updated AdvancedFeaturePkg DSC/FDF e) Updated PlatformPayloadPkg.py and Readme file https://github.com/tianocore/edk2-platforms/pull/41 Guo Dong (1): Features/Intel/PlatformPayloadPkg: add platform payload FV Features/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc = | 5 +++++ Features/Intel/AdvancedFeaturePkg/Include/AdvancedFeatures.dsc = | 7 ++++++ Features/Intel/AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc = | 7 ++++++ Features/Intel/AdvancedFeaturePkg/Include/PostMemory.fdf = | 7 ++++++ Features/Intel/AdvancedFeaturePkg/Include/PreMemory.fdf = | 7 ++++++ Features/Intel/PlatformPayloadPkg/Fvb/FvbInfo.c = | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/Fvb/FvbService.c = | 1088 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/Fvb/FvbService.h = | 185 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++ Features/Intel/PlatformPayloadPkg/Fvb/FvbServiceSmm.c = | 139 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/Fvb/FvbSmm.inf = | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/Fvb/FvbSmmCommon.h = | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/Include/Guid/NvVariableInfoGuid.h = | 24 +++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/Include/Guid/SpiFlashInfoGuid.h = | 38 ++++++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/Include/Library/FlashDeviceLib.h = | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/Include/Library/SpiFlashLib.h = | 213 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/Include/PlatformPayloadFeature.dsc = | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/Include/PostMemory.fdf = | 20 +++++++++++++++++ Features/Intel/PlatformPayloadPkg/Include/PreMemory.fdf = | 8 +++++++ Features/Intel/PlatformPayloadPkg/Library/FlashDeviceLib/FlashDeviceLib.c = | 160 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/Library/FlashDeviceLib/FlashDeviceLib.in= f | 38 ++++++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/Library/PcdInitLib/PcdInitLib.c = | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++ Features/Intel/PlatformPayloadPkg/Library/PcdInitLib/PcdInitLib.inf = | 50 +++++++++++++++++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/Library/SpiFlashLib/PchSpi.c = | 170 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++ Features/Intel/PlatformPayloadPkg/Library/SpiFlashLib/RegsSpi.h = | 120 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/Library/SpiFlashLib/SpiCommon.h = | 203 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/Library/SpiFlashLib/SpiFlashLib.c = | 874 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/Library/SpiFlashLib/SpiFlashLib.inf = | 48 +++++++++++++++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.c = | 455 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++ Features/Intel/PlatformPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.h = | 36 +++++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.inf = | 51 +++++++++++++++++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/PlatformPayloadPkg.dec = | 49 ++++++++++++++++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/PlatformPayloadPkg.dsc = | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/PlatformPayloadPkg.fdf = | 50 +++++++++++++++++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/PlatformPayloadPkg.py = | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++ Features/Intel/PlatformPayloadPkg/Readme.md = | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++ 35 files changed, 4887 insertions(+) create mode 100644 Features/Intel/PlatformPayloadPkg/Fvb/FvbInfo.c create mode 100644 Features/Intel/PlatformPayloadPkg/Fvb/FvbService.c create mode 100644 Features/Intel/PlatformPayloadPkg/Fvb/FvbService.h create mode 100644 Features/Intel/PlatformPayloadPkg/Fvb/FvbServiceSmm.c create mode 100644 Features/Intel/PlatformPayloadPkg/Fvb/FvbSmm.inf create mode 100644 Features/Intel/PlatformPayloadPkg/Fvb/FvbSmmCommon.h create mode 100644 Features/Intel/PlatformPayloadPkg/Include/Guid/NvVariab= leInfoGuid.h create mode 100644 Features/Intel/PlatformPayloadPkg/Include/Guid/SpiFlash= InfoGuid.h create mode 100644 Features/Intel/PlatformPayloadPkg/Include/Library/Flash= DeviceLib.h create mode 100644 Features/Intel/PlatformPayloadPkg/Include/Library/SpiFl= ashLib.h create mode 100644 Features/Intel/PlatformPayloadPkg/Include/PlatformPaylo= adFeature.dsc create mode 100644 Features/Intel/PlatformPayloadPkg/Include/PostMemory.fdf create mode 100644 Features/Intel/PlatformPayloadPkg/Include/PreMemory.fdf create mode 100644 Features/Intel/PlatformPayloadPkg/Library/FlashDeviceLi= b/FlashDeviceLib.c create mode 100644 Features/Intel/PlatformPayloadPkg/Library/FlashDeviceLi= b/FlashDeviceLib.inf create mode 100644 Features/Intel/PlatformPayloadPkg/Library/PcdInitLib/Pc= dInitLib.c create mode 100644 Features/Intel/PlatformPayloadPkg/Library/PcdInitLib/Pc= dInitLib.inf create mode 100644 Features/Intel/PlatformPayloadPkg/Library/SpiFlashLib/P= chSpi.c create mode 100644 Features/Intel/PlatformPayloadPkg/Library/SpiFlashLib/R= egsSpi.h create mode 100644 Features/Intel/PlatformPayloadPkg/Library/SpiFlashLib/S= piCommon.h create mode 100644 Features/Intel/PlatformPayloadPkg/Library/SpiFlashLib/S= piFlashLib.c create mode 100644 Features/Intel/PlatformPayloadPkg/Library/SpiFlashLib/S= piFlashLib.inf create mode 100644 Features/Intel/PlatformPayloadPkg/PchSmiDispatchSmm/Pch= SmiDispatchSmm.c create mode 100644 Features/Intel/PlatformPayloadPkg/PchSmiDispatchSmm/Pch= SmiDispatchSmm.h create mode 100644 Features/Intel/PlatformPayloadPkg/PchSmiDispatchSmm/Pch= SmiDispatchSmm.inf create mode 100644 Features/Intel/PlatformPayloadPkg/PlatformPayloadPkg.dec create mode 100644 Features/Intel/PlatformPayloadPkg/PlatformPayloadPkg.dsc create mode 100644 Features/Intel/PlatformPayloadPkg/PlatformPayloadPkg.fdf create mode 100644 Features/Intel/PlatformPayloadPkg/PlatformPayloadPkg.py create mode 100644 Features/Intel/PlatformPayloadPkg/Readme.md --=20 2.35.1.windows.2