]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/t4240rdb: Add alternate SerDes 2 protocol to align with RCW
authorChunhe Lan <Chunhe.Lan@freescale.com>
Wed, 10 Dec 2014 12:00:39 +0000 (20:00 +0800)
committerYork Sun <yorksun@freescale.com>
Fri, 16 Jan 2015 17:29:59 +0000 (09:29 -0800)
SerDes 2 protocol 56 is not valid any longer due to
the new RCW; protocol 55 is used instead, so add
SerDes 2 protocol 55 to align with RCW.

Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/freescale/t4rdb/eth.c
board/freescale/t4rdb/t4_rcw.cfg

index 142c6a877bb641545fe2e8cfff81d425c4285101..879bd1a347b55697f34919d379bd446b6b79d77f 100644 (file)
@@ -101,7 +101,7 @@ int board_eth_init(bd_t *bis)
        }
 
 #if (CONFIG_SYS_NUM_FMAN == 2)
-       if (srds_prtcl_s2 == 56) {
+       if ((srds_prtcl_s2 == 56) || (srds_prtcl_s2 == 55)) {
                /* SGMII && XFI */
                fm_info_set_phy_address(FM2_DTSEC1, SGMII_PHY_ADDR5);
                fm_info_set_phy_address(FM2_DTSEC2, SGMII_PHY_ADDR6);
index fdbbe5ef6593b25b43b068bedf7f2b01d3a662bf..e46c7b25a55c0098530410ba649c43aabd957c62 100644 (file)
@@ -1,7 +1,7 @@
 #PBL preamble and RCW header
 aa55aa55 010e0100
-#serdes protocol  27_56_1_9
+#serdes protocol  27_55_1_9
 16070019 18101916 00000000 00000000
-6c700848 00448c00 6c020000 f5000000
+6c6e0848 00448c00 6c020000 f5000000
 00000000 ee0000ee 00000000 000287fc
 00000000 50000000 00000000 00000028