diff mbox

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

Message ID 1441014773-10902-2-git-send-email-bmeng.cn@gmail.com
State Superseded
Delegated to: Simon Glass
Headers show

Commit Message

Bin Meng Aug. 31, 2015, 9:52 a.m. UTC
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@gmail.com>
---

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

Comments

Simon Glass Sept. 1, 2015, 12:32 a.m. UTC | #1
On 31 August 2015 at 03:52, Bin Meng <bmeng.cn@gmail.com> wrote:
> 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@gmail.com>
> ---
>
>  arch/x86/cpu/quark/pci.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Acked-by: Simon Glass <sjg@chromium.org>
diff mbox

Patch

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;
 }