Convert CONFIG_PCI_CONFIG_HOST_BRIDGE to Kconfig
authorTom Rini <trini@konsulko.com>
Mon, 20 Jun 2022 12:07:50 +0000 (08:07 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 5 Jul 2022 21:04:59 +0000 (17:04 -0400)
This converts the following to Kconfig:
   CONFIG_PCI_CONFIG_HOST_BRIDGE

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/pci/Kconfig
include/configs/x86-common.h

index 0ef5c29..53d0ebd 100644 (file)
@@ -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
index f28fafe..1366f62 100644 (file)
  */
 
 /*-----------------------------------------------------------------------
- * PCI configuration
- */
-#define CONFIG_PCI_CONFIG_HOST_BRIDGE
-
-/*-----------------------------------------------------------------------
  * USB configuration
  */