From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web08.3448.1660120630465624639 for ; Wed, 10 Aug 2022 01:37:11 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=L4EkYb3g; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: k.kavyax.sravanthi@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660120630; x=1691656630; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Yu+somrFKN9BrsxZlbYYhDUJTfmZzqqtA9Bv8+6D6e4=; b=L4EkYb3gV8tWRzMM9s+bKOtY2zgS11h34Y7ujylMjyJHQlu/7TjnRZyu p2mh35WBdJoAN0GTfNezKMpkgfTgQ4YxSXoBeMBmwDEjgzaThLFtTymIE s63IO+uSCnEEUEOygaDpssS0jWVAbbDSFffPTmDKsNzZRghe89M0BIRxn IdiVqsnWcjR/EZvBRDmRM+HoeuDBhpjDi4zBbK6r57heDmcsdGXLGQzwg QI3nXZgMA8yoca/KaCNL73BMaFSpIstmRp8D8deVlucgZbJySKnTpCi9O y+w9CxUe388OCwNLPDr7K1E0uzYMZVBhCEYzr8oZr83nBpeTW/dO6Tv5K w==; X-IronPort-AV: E=McAfee;i="6400,9594,10434"; a="292283143" X-IronPort-AV: E=Sophos;i="5.93,226,1654585200"; d="scan'208";a="292283143" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2022 01:37:09 -0700 X-IronPort-AV: E=Sophos;i="5.93,226,1654585200"; d="scan'208";a="633685413" Received: from ksravanx-mobl.gar.corp.intel.com ([10.215.185.174]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2022 01:37:06 -0700 From: "kavya" To: devel@edk2.groups.io Cc: Kavya , Guo Dong , Ray Ni , Sean Rhodes , Gua Guo Subject: [PATCH] UefiPayloadPkg: Add macro to control NvmExpressDxe Date: Wed, 10 Aug 2022 14:06:36 +0530 Message-Id: <20220810083637.1087-1-k.kavyax.sravanthi@intel.com> X-Mailer: git-send-email 2.35.1.windows.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add NVME_ENABLE macro to control NvmExpressDxe driver. Cc: Guo Dong Cc: Ray Ni Cc: Sean Rhodes Cc: Gua Guo Signed-off-by: Kavya --- UefiPayloadPkg/UefiPayloadPkg.dsc | 3 +++ UefiPayloadPkg/UefiPayloadPkg.fdf | 2 ++ 2 files changed, 5 insertions(+) diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayloadPkg.dsc index 91cd78dbf1..1b23ff3dbc 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -43,6 +43,7 @@ DEFINE SD_MMC_TIMEOUT = 1000000 DEFINE USE_CBMEM_FOR_CONSOLE = FALSE DEFINE BOOTSPLASH_IMAGE = FALSE + DEFINE NVME_ENABLE = TRUE # # NULL: NullMemoryTestDxe @@ -713,7 +714,9 @@ MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf +!if $(NVME_ENABLE) == TRUE MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf +!endif !if $(RAM_DISK_ENABLE) == TRUE MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf diff --git a/UefiPayloadPkg/UefiPayloadPkg.fdf b/UefiPayloadPkg/UefiPayloadPkg.fdf index 27534f445d..9c9e2f2741 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.fdf +++ b/UefiPayloadPkg/UefiPayloadPkg.fdf @@ -215,7 +215,9 @@ INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf +!if $(NVME_ENABLE) == TRUE INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf +!endif !if $(RAM_DISK_ENABLE) == TRUE INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf !endif -- 2.30.2.windows.1