]> git.sur5r.net Git - u-boot/commit
Freescale t104x: Do not exclude SGMII
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Fri, 24 Oct 2014 14:49:02 +0000 (16:49 +0200)
committerYork Sun <yorksun@freescale.com>
Fri, 5 Dec 2014 16:06:07 +0000 (08:06 -0800)
commitbcb60cb9c42eaef9292c02c60742654a3151883e
tree50c8bd9845a8941e35a59f672ea029728144cbc2
parented39218238cf8ca312b0a14a83848af055394c68
Freescale t104x: Do not exclude SGMII

fman_port_enet_if() tests if FM1_DTSEC2 or FM1_DTSEC4 uses
RGMII or MII and if not returns PHY_INTERFACE_MODE_NONE.
This excludes testing for SGMII further down.

Remove the unconditional "else return PHY_INTERFACE_MODE_NONE"
so SGMII can be tested too.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/net/fm/t1040.c