Skip to content
Snippets Groups Projects
Commit 378b02d7 authored by Tim Harvey's avatar Tim Harvey Committed by Stefano Babic
Browse files

pci: imx: display message if no pcie link


If CONFIG_PCI_SCAN_SHOW enabled then lets print a message of no link was
detected.

Signed-off-by: default avatarTim Harvey <tharvey@gateworks.com>
parent 8649b405
No related branches found
No related tags found
No related merge requests found
......@@ -588,7 +588,9 @@ static int imx_pcie_link_up(void)
udelay(10);
count++;
if (count >= 2000) {
debug("phy link never came up\n");
#ifdef CONFIG_PCI_SCAN_SHOW
puts("PCI: pcie phy link never came up\n");
#endif
debug("DEBUG_R0: 0x%08x, DEBUG_R1: 0x%08x\n",
readl(MX6_DBI_ADDR + PCIE_PHY_DEBUG_R0),
readl(MX6_DBI_ADDR + PCIE_PHY_DEBUG_R1));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment