[PATCH 09/17] Convert CONFIG_PCI_CONFIG_HOST_BRIDGE to Kconfig
Tom Rini
trini at konsulko.com
Mon Jun 20 14:07:50 CEST 2022
This converts the following to Kconfig:
CONFIG_PCI_CONFIG_HOST_BRIDGE
Signed-off-by: Tom Rini <trini at konsulko.com>
---
drivers/pci/Kconfig | 4 ++++
include/configs/x86-common.h | 5 -----
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index 0ef5c2923378..53d0ebd745e7 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 f28fafe15c63..1366f623aa25 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -44,11 +44,6 @@
* Environment configuration
*/
-/*-----------------------------------------------------------------------
- * PCI configuration
- */
-#define CONFIG_PCI_CONFIG_HOST_BRIDGE
-
/*-----------------------------------------------------------------------
* USB configuration
*/
--
2.25.1
More information about the U-Boot
mailing list