board: ls1046afwry: Disable sgmii support
authorPramod Kumar <pramod.kumar_1@nxp.com>
Fri, 20 Dec 2019 11:19:55 +0000 (11:19 +0000)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 24 Jan 2020 08:58:26 +0000 (14:28 +0530)
LS1046A SoC serdes protocol 0x3040 supports both sgmi and qsgmii,
however ls1046afrwy supports only qsgmii on board.
So, disable unsupported sgmii on board.

Signed-off-by: Pramod Kumar <pramod.kumar_1@nxp.com>
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
board/freescale/ls1046afrwy/eth.c

index 9f8bd928509d3e14673b4d3f1bbc9483597fbbe6..d38e4d7ac7cda72f5d91b0f522d09969dcdbc135 100644 (file)
@@ -53,6 +53,8 @@ int board_eth_init(bd_t *bis)
        fm_info_set_mdio(FM1_DTSEC10, dev);
        fm_info_set_mdio(FM1_DTSEC1, dev);
 
+       fm_disable_port(FM1_DTSEC9);
+
        cpu_eth_init(bis);
 #endif