From 3ff2f001c2289186c88edf55779078395987bb60 Mon Sep 17 00:00:00 2001
From: Bin Meng <bmeng.cn@gmail.com>
Date: Thu, 13 Aug 2015 00:29:15 -0700
Subject: [PATCH] x86: Enable CONFIG_PCI_CONFIG_HOST_BRIDGE for all boards

It looks that x86 chipset always contains a host bridge at pci
b.d.f 0.0.0, so enable this for all boards.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---
 include/configs/bayleybay.h  | 1 -
 include/configs/crownbay.h   | 1 -
 include/configs/minnowmax.h  | 1 -
 include/configs/qemu-x86.h   | 1 -
 include/configs/x86-common.h | 1 +
 5 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/include/configs/bayleybay.h b/include/configs/bayleybay.h
index d37a865d1d..1ba2998d54 100644
--- a/include/configs/bayleybay.h
+++ b/include/configs/bayleybay.h
@@ -16,7 +16,6 @@
 #define CONFIG_SYS_MONITOR_LEN		(1 << 20)
 #define CONFIG_ARCH_MISC_INIT
 
-#define CONFIG_PCI_CONFIG_HOST_BRIDGE
 #define CONFIG_SYS_EARLY_PCI_INIT
 #define CONFIG_PCI_PNP
 
diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h
index 57a9512f07..162f08ff1e 100644
--- a/include/configs/crownbay.h
+++ b/include/configs/crownbay.h
@@ -31,7 +31,6 @@
 #define CONFIG_PCI_IO_PHYS		CONFIG_PCI_IO_BUS
 #define CONFIG_PCI_IO_SIZE		0xe000
 
-#define CONFIG_PCI_CONFIG_HOST_BRIDGE
 #define CONFIG_SYS_EARLY_PCI_INIT
 #define CONFIG_PCI_PNP
 
diff --git a/include/configs/minnowmax.h b/include/configs/minnowmax.h
index aeb04b96b4..53d86a2778 100644
--- a/include/configs/minnowmax.h
+++ b/include/configs/minnowmax.h
@@ -19,7 +19,6 @@
 
 #define CONFIG_SMSC_LPC47M
 
-#define CONFIG_PCI_CONFIG_HOST_BRIDGE
 #define CONFIG_SYS_EARLY_PCI_INIT
 #define CONFIG_PCI_PNP
 #define CONFIG_RTL8169
diff --git a/include/configs/qemu-x86.h b/include/configs/qemu-x86.h
index 72df64e365..1b544c119e 100644
--- a/include/configs/qemu-x86.h
+++ b/include/configs/qemu-x86.h
@@ -28,7 +28,6 @@
 #define CONFIG_PCI_IO_PHYS		CONFIG_PCI_IO_BUS
 #define CONFIG_PCI_IO_SIZE		0xe000
 
-#define CONFIG_PCI_CONFIG_HOST_BRIDGE
 #define CONFIG_PCI_PNP
 
 #define CONFIG_STD_DEVICES_SETTINGS	"stdin=serial,vga\0" \
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
index 3d07cc0c92..217312e5b7 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -192,6 +192,7 @@
  * PCI configuration
  */
 #define CONFIG_PCI
+#define CONFIG_PCI_CONFIG_HOST_BRIDGE
 
 /*-----------------------------------------------------------------------
  * USB configuration
-- 
2.39.5