From nobody Thu Dec 26 20:03:00 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+114363+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+114363+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1706158828; cv=none; d=zohomail.com; s=zohoarc; b=UmzBfmzcnrIKM7QkbxTqs/nxlEtJXU45k40Yzd4P7zdc+2IKeCAwAAM+jErE2B5ivz2jiKBd+nqsN4XYnzu4tK9MbsNo35FvxkIL/jBB3JLhOaDtZP/ZSnoq8LXzc2OH3bvQQT8PPdyHXtOmw1DQJofq/yOUJHNOf9jJCM2pHEo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1706158828; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:Sender:Subject:Subject:To:To:Message-Id; bh=FuenSRwJXVMx4Mp2+cbeCAyncBTyIONxOj9wxlO52xM=; b=KfSwD21+avPZBdztwX3MBARBkxJJJsGRASb3lJJswZBgMnW9eHczyFem1/gIOy67BLhZUAt0fOV2YEGLPwQUYOzSZ9UwX7rbGGyjHMTnas2cwwQ5O+kieyd2rwuR3AoDOID54oiHNuiU1JgXZPnlhdLlLG+XntNExqpwcPzqIwE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+114363+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1706158828524887.5206342052611; Wed, 24 Jan 2024 21:00:28 -0800 (PST) Return-Path: DKIM-Signature: a=rsa-sha256; bh=p/qUko+B4UVGcpiqhBp6LlLApL/+hRTa6C3hl/PqUu0=; 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=1706158828; v=1; b=vRHUXMFEpVjkOWGQ9lV9QL4cJ6a8SN+01N6QkJOXst765A21h+afnYcLHQAi1fU2xMERpn7D T6e0AQVyAmhrc+xl1GlXF3/2hsjOtKkHF7AGMpPYNQrvkzng4mfWhFSBGEsGaagiQ9RdcQb3j8u 1dgo8UECxukmQ9VXWck88yXw= X-Received: by 127.0.0.2 with SMTP id yOjWYY1788612xFFyXDeRW0J; Wed, 24 Jan 2024 21:00:28 -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: AGjtQRwNRRmn5erFxwCtGZNox1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1706158829257100001 Content-Type: text/plain; charset="utf-8" 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 DEFINE PS2_MOUSE_ENABLE =3D TRUE DEFINE CRYPTO_PROTOCOL_SUPPORT =3D FALSE + DEFINE CRYPTO_DRIVER_SUPPORT =3D TRUE DEFINE SD_MMC_TIMEOUT =3D 1000000 DEFINE USE_CBMEM_FOR_CONSOLE =3D FALSE DEFINE BOOTSPLASH_IMAGE =3D FALSE @@ -860,11 +861,13 @@ # Misc # !if $(CRYPTO_PROTOCOL_SUPPORT) =3D=3D TRUE +!if $(CRYPTO_DRIVER_SUPPORT) =3D=3D TRUE CryptoPkg/Driver/CryptoDxe.inf { BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf } +!endif !endif =20 #------------------------------ 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 =20 !if $(CRYPTO_PROTOCOL_SUPPORT) =3D=3D TRUE +!if $(CRYPTO_DRIVER_SUPPORT) =3D=3D TRUE INF CryptoPkg/Driver/CryptoDxe.inf !endif +!endif !if $(SECURITY_STUB_ENABLE) =3D=3D TRUE INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf !endif --=20 2.39.2.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- 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/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-