nvme: pci: Enable for SPL

Enable NVME and PCI NVMe drivers for SPL builds. Also enable PCI_PNP
for SPL which is required to auto configure the PCIe devices.

Signed-off-by: Mayuresh Chitale <mchitale@ventanamicro.com>
This commit is contained in:
Mayuresh Chitale 2023-06-03 19:32:55 +05:30 committed by Tom Rini
parent 8ce6a2e175
commit 32f5e9e5c1
3 changed files with 8 additions and 1 deletions

View file

@ -35,6 +35,7 @@ obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/
obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/ obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/
obj-$(CONFIG_$(SPL_)SYSINFO) += sysinfo/ obj-$(CONFIG_$(SPL_)SYSINFO) += sysinfo/
obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/ obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/
obj-$(CONFIG_$(SPL_)NVME) += nvme/
obj-$(CONFIG_XEN) += xen/ obj-$(CONFIG_XEN) += xen/
obj-$(CONFIG_$(SPL_)FPGA) += fpga/ obj-$(CONFIG_$(SPL_)FPGA) += fpga/
obj-y += bus/ obj-y += bus/

View file

@ -4,4 +4,4 @@
obj-y += nvme-uclass.o nvme.o nvme_show.o obj-y += nvme-uclass.o nvme.o nvme_show.o
obj-$(CONFIG_NVME_APPLE) += nvme_apple.o obj-$(CONFIG_NVME_APPLE) += nvme_apple.o
obj-$(CONFIG_NVME_PCI) += nvme_pci.o obj-$(CONFIG_$(SPL_)NVME_PCI) += nvme_pci.o

View file

@ -40,6 +40,12 @@ config PCI_PNP
help help
Enable PCI memory and I/O space resource allocation and assignment. Enable PCI memory and I/O space resource allocation and assignment.
config SPL_PCI_PNP
bool "Enable Plug & Play support for PCI"
help
Enable PCI memory and I/O space resource allocation and assignment.
This is required to auto configure the enumerated devices.
config PCI_REGION_MULTI_ENTRY config PCI_REGION_MULTI_ENTRY
bool "Enable Multiple entries of region type MEMORY in ranges for PCI" bool "Enable Multiple entries of region type MEMORY in ranges for PCI"
help help