From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 26 May 2015 08:51:52 -0700 Subject: [U-Boot] [PATCH 04/20] armv8/ls2085aqds: Add support of 0x49 in ethernet In-Reply-To: <1431932937-10120-4-git-send-email-prabhakar@freescale.com> References: <1431932937-10120-1-git-send-email-prabhakar@freescale.com> <1431932937-10120-4-git-send-email-prabhakar@freescale.com> Message-ID: <55649698.3060005@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 Prabhakar, On 05/18/2015 12:08 AM, Prabhakar Kushwaha wrote: > Add support of 0x49 SerDes protocol for ls2085aqds platform > I would change the subject to "Add support of SerDes protocol 0x49". If you want, you can put in commit message to explain what 0x49 does. Unless one is familiar with SerDes protocols, it wouldn't be easy to link 0x49 to Ethernet. York > Signed-off-by: Prabhakar Kushwaha > --- > board/freescale/ls2085aqds/eth.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/board/freescale/ls2085aqds/eth.c b/board/freescale/ls2085aqds/eth.c > index 5ba4770..f32ace2 100644 > --- a/board/freescale/ls2085aqds/eth.c > +++ b/board/freescale/ls2085aqds/eth.c > @@ -210,6 +210,7 @@ static void initialize_dpmac_to_slot(void) > switch (serdes2_prtcl) { > case 0x07: > case 0x08: > + case 0x49: > printf("qds: WRIOP: Supported SerDes Protocol 0x%02x\n", > serdes2_prtcl); > lane_to_slot_fsm2[0] = EMI1_SLOT4; > @@ -247,6 +248,7 @@ void ls2085a_handle_phy_interface_sgmii(int dpmac_id) > switch (serdes2_prtcl) { > case 0x07: > case 0x08: > + case 0x49: > lane = serdes_get_first_lane(FSL_SRDS_2, SGMII9 + > (dpmac_id - 9)); > slot = lane_to_slot_fsm2[lane]; >