Message ID | 1421064519-6248-9-git-send-email-codrin.ciubotariu@freescale.com |
---|---|
State | Accepted |
Delegated to: | York Sun |
Headers | show |
On 01/12/2015 06:08 AM, Codrin Ciubotariu wrote: > Freescale's T1040qds board may be configured to have up to > 5 FMAN ports (FM1@DTSEC1 to FM1@DTSEC5). From these 5 ports, > 2 of them may be fixed-links (FM1@DTSEC1 annd FM1@DTSEC2), > connected to other two ports from an intergrated > VSC9953 L2 Switch (switch ports 8 and 9). These fixed-link > ports have no PHYs attatched, so they don't have a > corresponding MDIO. > > Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com> > --- > > Changes for v2: > - added patch description; > > Changes for v3: > - Removed "Change-id" line from comment; > Applied to u-boot-mpc85xx master branch, awaiting upstream. York
diff --git a/board/freescale/t1040qds/eth.c b/board/freescale/t1040qds/eth.c index c6fc146..2f8e753 100644 --- a/board/freescale/t1040qds/eth.c +++ b/board/freescale/t1040qds/eth.c @@ -478,6 +478,7 @@ int board_eth_init(bd_t *bis) for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) { switch (fm_info_get_enet_if(i)) { case PHY_INTERFACE_MODE_QSGMII: + fm_info_set_mdio(i, NULL); break; case PHY_INTERFACE_MODE_SGMII: t1040_handle_phy_interface_sgmii(i);
Freescale's T1040qds board may be configured to have up to 5 FMAN ports (FM1@DTSEC1 to FM1@DTSEC5). From these 5 ports, 2 of them may be fixed-links (FM1@DTSEC1 annd FM1@DTSEC2), connected to other two ports from an intergrated VSC9953 L2 Switch (switch ports 8 and 9). These fixed-link ports have no PHYs attatched, so they don't have a corresponding MDIO. Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com> --- Changes for v2: - added patch description; Changes for v3: - Removed "Change-id" line from comment; board/freescale/t1040qds/eth.c | 1 + 1 file changed, 1 insertion(+)