summaryrefslogtreecommitdiff
path: root/include/pci.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-05-08 09:20:19 -0400
committerTom Rini <trini@konsulko.com>2019-05-08 09:20:19 -0400
commit8c66fb88e3bd00b486d2da2b90f5ff8534b7e3c0 (patch)
tree4b8a83298e5db7f930fd76f1cb7c0b40c0fbaf10 /include/pci.h
parentd4c352138c266d618677778a40a846946ec1af1c (diff)
parentffe403762be48d475de4b2b6df87c32fd3a1e8dd (diff)
Merge git://git.denx.de/u-boot-x86
- Allow x86 boards to use TPL, SPL and U-Boot proper - Update sysreset x86 driver to utilize ACPI registers to do power off - Add a new chromebook_samus_tpl board for TPL support - Several minor changes in binman tool
Diffstat (limited to 'include/pci.h')
-rw-r--r--include/pci.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/pci.h b/include/pci.h
index 066238a9c3..508f7bca81 100644
--- a/include/pci.h
+++ b/include/pci.h
@@ -546,11 +546,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 *);
-#ifdef CONFIG_NR_DRAM_BANKS
-#define MAX_PCI_REGIONS (CONFIG_NR_DRAM_BANKS + 7)
-#else
-#define MAX_PCI_REGIONS 7
-#endif
+#define MAX_PCI_REGIONS 7
#define INDIRECT_TYPE_NO_PCIE_LINK 1