From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 27 May 2015 15:30:04 +0200 Subject: [U-Boot] [PATCH] pci: imx: display message if no pcie link In-Reply-To: References: <1431123430-20700-1-git-send-email-tharvey@gateworks.com> Message-ID: <5565C6DC.8060609@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Tim, On 27/05/2015 15:21, Tim Harvey wrote: > On Fri, May 8, 2015 at 3:17 PM, Tim Harvey wrote: >> If CONFIG_PCI_SCAN_SHOW enabled then lets print a message of no link was >> detected. >> >> Signed-off-by: Tim Harvey >> --- >> drivers/pci/pcie_imx.c | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/drivers/pci/pcie_imx.c b/drivers/pci/pcie_imx.c >> index fd7e4d4..ca485ba 100644 >> --- a/drivers/pci/pcie_imx.c >> +++ b/drivers/pci/pcie_imx.c >> @@ -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)); >> -- >> 1.9.1 >> > > Stefano, > > I probably should have sent this one to you directly being an imx driver. > I have seen the patch and the related discussion who should take care of it ;-) Do not worry - I set myself as delegate for this and I will merge it soon. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================