Skip to contentSkip to conversation

board: ls1046afwry: Disable sgmii support

PATCH New Pramod Kumar 2 participants 2 messages Dec 20, 2019 – Jan 27, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 board: ls1046afwry: Disable sgmii support

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

---
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(+)
board/freescale/ls1046afrwy/eth.c +2 -0
index 9f8bd92..d38e4d7 100644
@@ -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
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH v3 1/1 board: ls1046afwry: Disable sgmii support

Quoted 8 lines

-----Original Message-----
From: Pramod Kumar <[email protected]>
Sent: Friday, December 20, 2019 4:50 PM
To: u-boot at lists.denx.de
Cc: Priyanka Jain <[email protected]>; Pramod Kumar <[email protected]>
Subject: [PATCH v3] board: ls1046afwry: Disable sgmii support

Quoted 6 lines

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

---

Patch applied (after correcting sp mistake in description QSGMI->qsgmii) in u-boot-fsl-qoriq/master -priyankajain