Re: [U-Boot] [PATCHv2 1/5] fsl: serdes: ensure accessing the initialized maps of serdes protocol

2016-11-30 Thread york sun
On 11/30/2016 12:41 AM, Z.Q. Hou wrote: >> Zhiqiang, >> >> This patch has been merged but I found an issue with it today. Please try to >> boot P4080DS from NOR flash. It causes recursive calls >> fsl_serdes_init()->p4080_erratum_serdes_a005()->is_serdes_configured()->fsl_ >> serdes_init(). >> Plea

Re: [U-Boot] [PATCHv2 1/5] fsl: serdes: ensure accessing the initialized maps of serdes protocol

2016-11-30 Thread Z.Q. Hou
Hi York, > -Original Message- > From: york sun > Sent: 2016年11月30日 5:58 > To: Z.Q. Hou ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; w...@denx.de; Prabhakar Kushwaha > ; Alison Wang ; > Mingkai Hu > Cc: Yao Yuan ; Q.Y. Gong ; > bmeng...@gmail.com; Shengzhou Liu > Subject: Re: [PAT

Re: [U-Boot] [PATCHv2 1/5] fsl: serdes: ensure accessing the initialized maps of serdes protocol

2016-11-29 Thread york sun
On 08/02/2016 04:14 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Up to now, the function is_serdes_configed() doesn't check if the map > of serdes protocol is initialized before accessing it. The function > is_serdes_configed() will get wrong result when it was called before > the serdes proto

Re: [U-Boot] [PATCHv2 1/5] fsl: serdes: ensure accessing the initialized maps of serdes protocol

2016-09-20 Thread york sun
On 08/02/2016 04:14 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Up to now, the function is_serdes_configed() doesn't check if the map > of serdes protocol is initialized before accessing it. The function > is_serdes_configed() will get wrong result when it was called before > the serdes proto

[U-Boot] [PATCHv2 1/5] fsl: serdes: ensure accessing the initialized maps of serdes protocol

2016-08-02 Thread Zhiqiang Hou
From: Hou Zhiqiang Up to now, the function is_serdes_configed() doesn't check if the map of serdes protocol is initialized before accessing it. The function is_serdes_configed() will get wrong result when it was called before the serdes protocol maps initialized. As the first element of the map i