From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 34AA0AC0C5F for ; Thu, 25 Jan 2024 05:00:29 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=GMnvF7/CMq/qUj6eEAZoBld7X10A1ovi9kBOuihZSLM=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1706158827; v=1; b=JrLKrpiXlzG4kUgGsa4oy/zEVTdXuMSqqJk+Aue9vesUxLkYqyKBBW4J0tP7lvFq6AVn9iCk MVRob2XyrRX/uYyGYjE5MSmrTm/upGhkq9NpN98v2maV5GQkvHOe2hykC5xULBR6gKiK1gMevjG IyPIOJSAr4m+isdmaBZD4iX4= X-Received: by 127.0.0.2 with SMTP id FEniYY7687511x64mjADqYuX; Wed, 24 Jan 2024 21:00:27 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web10.9835.1706158826785196659 for ; Wed, 24 Jan 2024 21:00:27 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10962"; a="401709809" X-IronPort-AV: E=Sophos;i="6.05,216,1701158400"; d="scan'208";a="401709809" X-Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2024 21:00:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10962"; a="876934852" X-IronPort-AV: E=Sophos;i="6.05,216,1701158400"; d="scan'208";a="876934852" X-Received: from gguo-desk.gar.corp.intel.com ([10.225.76.26]) by FMSMGA003.fm.intel.com with ESMTP; 24 Jan 2024 21:00:25 -0800 From: "Guo, Gua" To: devel@edk2.groups.io Cc: gua.guo@intel.com, Guo Dong , Sean Rhodes , James Lu Subject: [edk2-devel] [PATCH v1] UefiPayloadPkg/Crypto: Make crypto driver as optional Date: Thu, 25 Jan 2024 13:00:21 +0800 Message-Id: <20240125050021.3-1-gua.guo@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,gua.guo@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: X35bi2GcnfC929dj21ylGjWnx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=JrLKrpiX; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io From: Gua Guo Crypto in serveral case will use old version, treat as optional will make customer easy to upgrade it. Cc: Guo Dong Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: Gua Guo --- UefiPayloadPkg/UefiPayloadPkg.dsc | 3 +++ UefiPayloadPkg/UefiPayloadPkg.fdf | 2 ++ 2 files changed, 5 insertions(+) diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayload= Pkg.dsc index 4f195c1e52..01e1684e27 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -38,6 +38,7 @@ DEFINE SD_ENABLE =3D TRUE=0D DEFINE PS2_MOUSE_ENABLE =3D TRUE=0D DEFINE CRYPTO_PROTOCOL_SUPPORT =3D FALSE=0D + DEFINE CRYPTO_DRIVER_SUPPORT =3D TRUE=0D DEFINE SD_MMC_TIMEOUT =3D 1000000=0D DEFINE USE_CBMEM_FOR_CONSOLE =3D FALSE=0D DEFINE BOOTSPLASH_IMAGE =3D FALSE=0D @@ -860,11 +861,13 @@ # Misc=0D #=0D !if $(CRYPTO_PROTOCOL_SUPPORT) =3D=3D TRUE=0D +!if $(CRYPTO_DRIVER_SUPPORT) =3D=3D TRUE=0D CryptoPkg/Driver/CryptoDxe.inf {=0D =0D BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf=0D TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf=0D }=0D +!endif=0D !endif=0D =0D #------------------------------=0D diff --git a/UefiPayloadPkg/UefiPayloadPkg.fdf b/UefiPayloadPkg/UefiPayload= Pkg.fdf index 7d04a8cffd..8cb7e5ac50 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.fdf +++ b/UefiPayloadPkg/UefiPayloadPkg.fdf @@ -154,8 +154,10 @@ INF MdeModulePkg/Universal/ReportStatusCodeRouter/Runt= imeDxe/ReportStatusCodeRou INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerR= untimeDxe.inf=0D =0D !if $(CRYPTO_PROTOCOL_SUPPORT) =3D=3D TRUE=0D +!if $(CRYPTO_DRIVER_SUPPORT) =3D=3D TRUE=0D INF CryptoPkg/Driver/CryptoDxe.inf=0D !endif=0D +!endif=0D !if $(SECURITY_STUB_ENABLE) =3D=3D TRUE=0D INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf=0D !endif=0D --=20 2.39.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#114363): https://edk2.groups.io/g/devel/message/114363 Mute This Topic: https://groups.io/mt/103948573/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-