]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: ls2080ardb: Add phy number for serdes1 protocol 0x4b
authorSantan Kumar <santan.kumar@nxp.com>
Thu, 13 Apr 2017 10:01:09 +0000 (15:31 +0530)
committerYork Sun <york.sun@nxp.com>
Mon, 24 Apr 2017 16:02:46 +0000 (09:02 -0700)
Signed-off-by: Santan Kumar <santan.kumar@nxp.com>
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/ls2080ardb/eth_ls2080rdb.c

index 799799c251c2f21ed9eb8fe57ee00b4bc7df7bb4..ba584c8a76874684ad9a9db1ce73af4f2f382631 100644 (file)
@@ -61,6 +61,13 @@ int board_eth_init(bd_t *bis)
                wriop_set_phy_address(WRIOP1_DPMAC7, AQ_PHY_ADDR3);
                wriop_set_phy_address(WRIOP1_DPMAC8, AQ_PHY_ADDR4);
 
+               break;
+       case 0x4B:
+               wriop_set_phy_address(WRIOP1_DPMAC1, CORTINA_PHY_ADDR1);
+               wriop_set_phy_address(WRIOP1_DPMAC2, CORTINA_PHY_ADDR2);
+               wriop_set_phy_address(WRIOP1_DPMAC3, CORTINA_PHY_ADDR3);
+               wriop_set_phy_address(WRIOP1_DPMAC4, CORTINA_PHY_ADDR4);
+
                break;
        default:
                printf("SerDes1 protocol 0x%x is not supported on LS2080aRDB\n",