From: Suneel Garapati <sgarap...@marvell.com>

Increase MAX_PCI_REGIONS limit from 7 to 10. For some SoC's
like OcteonTX/TX2 where everything is on PCI bus there is
need for extra entries to support required peripherals.

Signed-off-by: Suneel Garapati <sgarap...@marvell.com>
---
 include/pci.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/pci.h b/include/pci.h
index ff59ac0e69..0b14842285 100644
--- a/include/pci.h
+++ b/include/pci.h
@@ -567,7 +567,7 @@ extern void pci_cfgfunc_do_nothing(struct pci_controller* 
hose, pci_dev_t dev,
 extern void pci_cfgfunc_config_device(struct pci_controller* hose, pci_dev_t 
dev,
                                      struct pci_config_table *);
 
-#define MAX_PCI_REGIONS                7
+#define MAX_PCI_REGIONS                10
 
 #define INDIRECT_TYPE_NO_PCIE_LINK     1
 
-- 
2.23.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to