From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roy Zang Date: Fri, 20 Jun 2014 15:56:00 -0500 Subject: [U-Boot] [PATCH] fsl/pcie: Change 'no link' to 'undetermined' for pcie endpoint In-Reply-To: <20140612205615.BDD0538331B@gemini.denx.de> References: <1402602563-26705-1-git-send-email-tie-fei.zang@freescale.com> <20140612205615.BDD0538331B@gemini.denx.de> Message-ID: <53A49FE0.7090808@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06/12/2014 03:56 PM, Wolfgang Denk wrote: > Dear Roy Zang, > > In message <1402602563-26705-1-git-send-email-tie-fei.zang@freescale.com> you wrote: >> Even u-boot boots up, the pcie link may not setup correctly when >> Freescale SOC acts as endpoint. >> So change the link status from 'no link' to 'undetermined' to >> reduce the confusion. >> The link status can check from host side eventually. > Sorry, but can you please explain what exactly you are doing here? I'm > sorry, but I don't understand above text. Freescale card acted as PCIe endpoint plugs into a X86 host via PCIe slot. We do see some case that the u-boot prints "no link" when boot up, however in X86 Linux, the pcie link sets up correctly. Host Linux boots up slow than u-boot. So if u-boot can capture the link up status, it will print the endpoint link up status, or it will print "undetermined" to reduce confusion. User can still confirm the link up status from host. Thank. Roy