diff options
author | Suneel Garapati <sgarapati@marvell.com> | 2019-10-20 03:10:20 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2020-08-25 09:01:16 +0300 |
commit | 4cf56ec07f673f99c87862dbb7e72bc077685474 (patch) | |
tree | d40e8b752e61d666aab70f047b008e6ef30634c3 /drivers/pci/Kconfig | |
parent | bc30140d20d041a6ed5d52175e9953c36f8f5473 (diff) | |
download | u-boot-4cf56ec07f673f99c87862dbb7e72bc077685474.tar.xz |
pci: pci-uclass: Add multi entry support for memory regions
Enable PCI memory regions in ranges property to be of multiple entry.
This helps to add support for SoC's like OcteonTX/TX2 where every
peripheral is on PCI bus.
Signed-off-by: Suneel Garapati <sgarapati@marvell.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/pci/Kconfig')
-rw-r--r-- | drivers/pci/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index 5e0a39396b..1c47a21101 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig @@ -43,6 +43,16 @@ config PCI_PNP help Enable PCI memory and I/O space resource allocation and assignment. +config PCI_REGION_MULTI_ENTRY + bool "Enable Multiple entries of region type MEMORY in ranges for PCI" + depends on PCI || DM_PCI + default n + help + Enable PCI memory regions to be of multiple entry. Multiple entry + here refers to allow more than one count of address ranges for MEMORY + region type. This helps to add support for SoC's like OcteonTX/TX2 + where every peripheral is on the PCI bus. + config PCIE_ECAM_GENERIC bool "Generic ECAM-based PCI host controller support" default n |