[PATCH v3] board: ls1046afwry: Disable sgmii support

Pramod Kumar pramod.kumar_1 at nxp.com
Fri Dec 20 12:19:55 CET 2019


LS1046A SoC serdes protocol 0x3040 supports both sgmi and qsgmii,
however ls1046afrwy supports only QSGMI on board.
Disable unsupported sgmii on board.

Signed-off-by: Pramod Kumar <pramod.kumar_1 at nxp.com>
---
Changes in v2:
  - Incorporated review comment

Changes in v3:
  - incorporated review comment for commit message

 board/freescale/ls1046afrwy/eth.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/board/freescale/ls1046afrwy/eth.c b/board/freescale/ls1046afrwy/eth.c
index 9f8bd92..d38e4d7 100644
--- a/board/freescale/ls1046afrwy/eth.c
+++ b/board/freescale/ls1046afrwy/eth.c
@@ -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
 
-- 
2.7.4



More information about the U-Boot mailing list