summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-06-20 08:07:50 -0400
committerTom Rini <[email protected]>2022-07-05 17:04:59 -0400
commite58eebb5140ce52838a7a31279b434d7030b2e35 (patch)
treea0c4f25660e302168b47f6e30ba85cf9df90b062
parentbf2c48fa1a6e068f232d84aae43b5dad654a9017 (diff)
Convert CONFIG_PCI_CONFIG_HOST_BRIDGE to Kconfig
This converts the following to Kconfig: CONFIG_PCI_CONFIG_HOST_BRIDGE Signed-off-by: Tom Rini <[email protected]>
-rw-r--r--drivers/pci/Kconfig4
-rw-r--r--include/configs/x86-common.h5
2 files changed, 4 insertions, 5 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index 0ef5c292337..53d0ebd745e 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -48,6 +48,10 @@ config PCI_REGION_MULTI_ENTRY
region type. This helps to add support for SoC's like OcteonTX/TX2
where every peripheral is on the PCI bus.
+config PCI_CONFIG_HOST_BRIDGE
+ bool "Configure PCI host bridges"
+ default y if X86
+
config PCI_MAP_SYSTEM_MEMORY
bool "Map local system memory from a virtual base address"
depends on MIPS
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
index f28fafe15c6..1366f623aa2 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -45,11 +45,6 @@
*/
/*-----------------------------------------------------------------------
- * PCI configuration
- */
-#define CONFIG_PCI_CONFIG_HOST_BRIDGE
-
-/*-----------------------------------------------------------------------
* USB configuration
*/