[U-Boot] [PATCH 1/8] x86: quark: Make host bridge (b.d.f=0.0.0) visible

Bin Meng bmeng.cn at gmail.com
Mon Aug 31 11:52:46 CEST 2015


Quark-specific codes pci_skip_dev() hide the host bridge, but since
all other x86 boards do not hide the host bridge (b.d.f=0.0.0) now,
remove such limitation for quark too.

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

 arch/x86/cpu/quark/pci.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/x86/cpu/quark/pci.c b/arch/x86/cpu/quark/pci.c
index 354e15a..a1685ad 100644
--- a/arch/x86/cpu/quark/pci.c
+++ b/arch/x86/cpu/quark/pci.c
@@ -61,10 +61,8 @@ int pci_skip_dev(struct pci_controller *hose, pci_dev_t dev)
 	 * For now we just skip these two devices, and this needs to
 	 * be revisited later.
 	 */
-	if (dev == QUARK_HOST_BRIDGE ||
-	    dev == QUARK_PCIE0 || dev == QUARK_PCIE1) {
+	if (dev == QUARK_PCIE0 || dev == QUARK_PCIE1)
 		return 1;
-	}
 
 	return 0;
 }
-- 
1.8.2.1



More information about the U-Boot mailing list