summaryrefslogtreecommitdiff
path: root/drivers/pci/pcie_dw_mvebu.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-05-09 19:48:09 (GMT)
committerTom Rini <trini@konsulko.com>2017-05-09 19:48:09 (GMT)
commita284212963277114ad60e3442d74f095102a9de5 (patch)
treeade5bcb8f4c46b8766d439785ed7d0a210628913 /drivers/pci/pcie_dw_mvebu.c
parente6ceaff1b5f1ff6a0b135fcd931562958e9c91bd (diff)
parente38f5fc8d80d946b401ba0e9ba0fcb52d6e7e74b (diff)
downloadu-boot-a284212963277114ad60e3442d74f095102a9de5.tar.xz
Merge git://www.denx.de/git/u-boot-marvell
Diffstat (limited to 'drivers/pci/pcie_dw_mvebu.c')
-rw-r--r--drivers/pci/pcie_dw_mvebu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/pci/pcie_dw_mvebu.c b/drivers/pci/pcie_dw_mvebu.c
index d4776a9..05a0660 100644
--- a/drivers/pci/pcie_dw_mvebu.c
+++ b/drivers/pci/pcie_dw_mvebu.c
@@ -487,13 +487,13 @@ static int pcie_dw_mvebu_probe(struct udevice *dev)
/* Don't register host if link is down */
if (!pcie_dw_mvebu_pcie_link_up(pcie->ctrl_base, LINK_SPEED_GEN_3)) {
printf("PCIE-%d: Link down\n", dev->seq);
- return -ENODEV;
+ } else {
+ printf("PCIE-%d: Link up (Gen%d-x%d, Bus%d)\n", dev->seq,
+ pcie_dw_get_link_speed(pcie->ctrl_base),
+ pcie_dw_get_link_width(pcie->ctrl_base),
+ hose->first_busno);
}
- printf("PCIE-%d: Link up (Gen%d-x%d, Bus%d)\n", dev->seq,
- pcie_dw_get_link_speed(pcie->ctrl_base),
- pcie_dw_get_link_width(pcie->ctrl_base), hose->first_busno);
-
pcie_dw_regions_setup(pcie);
/* Set the CLASS_REV of RC CFG header to PCI_CLASS_BRIDGE_PCI */