From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Fri, 27 Sep 2013 10:40:46 -0700 Subject: [U-Boot] [PATCH 2/2] SGMII:fix PHY addresses for QSGMII Riser Card working in SGMII mode In-Reply-To: <1378260687-2732-2-git-send-email-B45475@freescale.com> References: <1378260687-2732-1-git-send-email-B45475@freescale.com> <1378260687-2732-2-git-send-email-B45475@freescale.com> Message-ID: <5245C31E.9040803@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 09/03/2013 07:11 PM, Zhao Qiang wrote: > Fix PHY addresses for QSGMII Riser Card working in > SGMII mode on board P3041/P5020/P4080/P5040/B4860. > > QSGMII Riser Card can work in SGMII mode, but > having the different PHY addresses. > So the following steps should be done: > 1. Confirm whether QSGMII Riser Card is used. > 2. If yes, set the proper PHY address. > Generally, the function is_qsgmii_riser_card() is > for step 1, and set_sgmii_phy() for step 2. > > However, there are still some special situations, > take P5040 and B4860 as examples, the PHY addresses > need to be changed when serdes protocol is changed, > so it is necessary to confirm the protocol before > setting PHY addresses. > > Signed-off-by: Zhao Qiang > --- Applied to u-boot-mpc85xx/next, pending merging to u-boot-mpc85xx/master branch. York