diff mbox

[U-Boot,v2] board: ls2080ardb: Add phy number for serdes1 protocol 0x4b

Message ID 1492077669-17076-1-git-send-email-santan.kumar@nxp.com
State Accepted
Delegated to: York Sun
Headers show

Commit Message

Santan Kumar April 13, 2017, 10:01 a.m. UTC
Signed-off-by: Santan Kumar <santan.kumar@nxp.com>
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
---
Changes for v2:
 Changed the subject

 board/freescale/ls2080ardb/eth_ls2080rdb.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

York Sun April 26, 2017, 10:16 p.m. UTC | #1
On 04/13/2017 02:58 AM, Santan Kumar wrote:
> Signed-off-by: Santan Kumar <santan.kumar@nxp.com>
> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
> ---
> Changes for v2:
>  Changed the subject
>
>  board/freescale/ls2080ardb/eth_ls2080rdb.c | 7 +++++++
>  1 file changed, 7 insertions(+)
>

Applied to fsl-qoriq master. Thanks.

York
diff mbox

Patch

diff --git a/board/freescale/ls2080ardb/eth_ls2080rdb.c b/board/freescale/ls2080ardb/eth_ls2080rdb.c
index 799799c..ba584c8 100644
--- a/board/freescale/ls2080ardb/eth_ls2080rdb.c
+++ b/board/freescale/ls2080ardb/eth_ls2080rdb.c
@@ -62,6 +62,13 @@  int board_eth_init(bd_t *bis)
 		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",
 		       srds_s1);