From: Bin Meng Date: Mon, 31 Aug 2015 02:52:46 -0700 Subject: [U-Boot] [PATCH 1/8] x86: quark: Make host bridge (b.d.f=0.0.0) visible In-Reply-To: <1441014773-10902-1-git-send-email-bmeng.cn@gmail.com> References: <1441014773-10902-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1441014773-10902-2-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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