Message ID | 1441014773-10902-2-git-send-email-bmeng.cn@gmail.com |
---|---|
State | Superseded |
Delegated to: | Simon Glass |
Headers | show |
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 --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; }
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(-)