diff options
author | Kavya <k.kavyax.sravanthi@intel.com> | 2022-08-22 19:20:15 +0530 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-08-23 01:31:35 +0000 |
commit | c15c9fa4200f6819952a902283a0abcc81146a3a (patch) | |
tree | 4bfe484e41e34a2b98b2e690674d71faae52a5f1 /UefiPayloadPkg/UefiPayloadPkg.dsc | |
parent | 2bb002067565fcf16641dfc9ba9d0f68e17bfc8f (diff) | |
download | edk2-c15c9fa4200f6819952a902283a0abcc81146a3a.tar.gz edk2-c15c9fa4200f6819952a902283a0abcc81146a3a.tar.bz2 edk2-c15c9fa4200f6819952a902283a0abcc81146a3a.zip |
UefiPayloadPkg: Add macro to control NvmExpressDxe
Add NVME_ENABLE macro to control NvmExpressDxe driver.
Reviewed-by: Guo Dong <guo.dong@intel.com>
Reviewed-by: Gua Guo <gua.guo@intel.com>
Signed-off-by: Kavya <k.kavyax.sravanthi@intel.com>
Diffstat (limited to 'UefiPayloadPkg/UefiPayloadPkg.dsc')
-rw-r--r-- | UefiPayloadPkg/UefiPayloadPkg.dsc | 3 |
1 files changed, 3 insertions, 0 deletions
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
|