mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-01 03:51:31 +00:00
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: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
parent
8649b405c5
commit
378b02d7ed
1 changed files with 3 additions and 1 deletions
|
@ -588,7 +588,9 @@ static int imx_pcie_link_up(void)
|
||||||
udelay(10);
|
udelay(10);
|
||||||
count++;
|
count++;
|
||||||
if (count >= 2000) {
|
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",
|
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_R0),
|
||||||
readl(MX6_DBI_ADDR + PCIE_PHY_DEBUG_R1));
|
readl(MX6_DBI_ADDR + PCIE_PHY_DEBUG_R1));
|
||||||
|
|
Loading…
Add table
Reference in a new issue