From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web11.52939.1686553818636488401 for ; Mon, 12 Jun 2023 00:10:19 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=HQCV0dID; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: marsx.lin@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686553818; x=1718089818; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=v/gEetOi2jRsrT362qtDa3MiH3W2aSvZuYNKszNiwYU=; b=HQCV0dIDThHltUwMxeKfGMCJXThdPQvKafHRyMWiHRvm+c0VzmnuN0me ZsuG/xSyflrWBNdt94zZERo50ewTCDDfCYK+eYYUYqMBLMCSBtdo4uCiK rmOwS5nsDo1yvgrwkAd8dDXLCSdZHYt+ytxiz2PD3mOhqZEYpjLJgAStJ 6tk+eZqanqlXqjUZURVad9ukz4ZEsUEIOPgcoxib4Ho/3yzaBJFWH2UlS 6Uzd+1ilp1vp47QaBP4LqD+1UjgkTz2bVxpDn2gCOxW8g7GT0AmTRfBmD GjR+tdk93JtOT/dbZvWMvxahkdUQjnm+7yG2DOqJtX5P41tYaE4lkfzCx g==; X-IronPort-AV: E=McAfee;i="6600,9927,10738"; a="357960035" X-IronPort-AV: E=Sophos;i="6.00,236,1681196400"; d="scan'208";a="357960035" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2023 00:10:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10738"; a="776240637" X-IronPort-AV: E=Sophos;i="6.00,236,1681196400"; d="scan'208";a="776240637" Received: from marslinx-desk3.gar.corp.intel.com ([10.5.215.20]) by fmsmga008.fm.intel.com with ESMTP; 12 Jun 2023 00:10:16 -0700 From: marsx.lin@intel.com To: devel@edk2.groups.io Cc: MarsX Lin , Ray Ni , Sean Rhodes , Gua Guo , James Lu , Guo Dong Subject: [PATCH] UefiPayloadPkg: Add CAPSULE_SUPPORT in UPL and set it as FALSE in default Date: Mon, 12 Jun 2023 15:10:13 +0800 Message-Id: <09ea321256c3fa2fc6b2eed6dc9e056ae43f8fda.1686553729.git.marsx.lin@intel.com> X-Mailer: git-send-email 2.39.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: MarsX Lin REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4479 Add CAPSULE_SUPPORT to optionally select CapsuleLib instance, default value is FALSE. Cc: Ray Ni Cc: Sean Rhodes Cc: Gua Guo Cc: James Lu Cc: Guo Dong Signed-off-by: MarsX Lin --- UefiPayloadPkg/UefiPayloadPkg.dsc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayload= Pkg.dsc index 615c5b4c6d..849645a876 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -43,6 +43,7 @@ DEFINE USE_CBMEM_FOR_CONSOLE =3D FALSE=0D DEFINE BOOTSPLASH_IMAGE =3D FALSE=0D DEFINE NVME_ENABLE =3D TRUE=0D + DEFINE CAPSULE_SUPPORT =3D FALSE=0D =0D #=0D # NULL: NullMemoryTestDxe=0D @@ -228,8 +229,12 @@ UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf=0D UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf=0D OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHo= okStatusCodeLibNull.inf=0D + !if $(CAPSULE_SUPPORT) =3D=3D TRUE=0D CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.in= f=0D BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.i= nf=0D + !else=0D + CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf= =0D + !endif=0D SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf=0D UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManag= erLib.inf=0D BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf=0D --=20 2.39.1.windows.1