]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 0ef5c2923378bdcd07a7bdb059249e992c0bec36..53d0ebd745e7b4e71e1154202feaeea345944c56 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 f28fafe15c63838e9858c77fb2e54d8a27e04d9c..1366f623aa2518aff0bbc1dab4d4848faf6ef053 100644 (file)
  * Environment configuration
  */
 
-/*-----------------------------------------------------------------------
- * PCI configuration
- */
-#define CONFIG_PCI_CONFIG_HOST_BRIDGE
-
 /*-----------------------------------------------------------------------
  * USB configuration
  */