diff options
author | Tom Rini <trini@ti.com> | 2014-09-26 13:51:18 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-09-26 13:51:18 (GMT) |
commit | 2c3dc792b6df16970077c0d64085e29f1f85d4c8 (patch) | |
tree | 6540d2da40e3f10db89245fe8602470e85237c9e /board/freescale/t104xrdb/eth.c | |
parent | f9860cf081efdf32c8a01b9fc271fe55e2a79f8d (diff) | |
parent | 039b77396abb0ed78af34dadbd0786dfaf0e6aa9 (diff) | |
download | u-boot-2c3dc792b6df16970077c0d64085e29f1f85d4c8.tar.xz |
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'board/freescale/t104xrdb/eth.c')
-rw-r--r-- | board/freescale/t104xrdb/eth.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/freescale/t104xrdb/eth.c b/board/freescale/t104xrdb/eth.c index 63e5f90..c8b6c67 100644 --- a/board/freescale/t104xrdb/eth.c +++ b/board/freescale/t104xrdb/eth.c @@ -43,6 +43,16 @@ int board_eth_init(bd_t *bis) CONFIG_SYS_SGMII1_PHY_ADDR); break; #endif +#ifdef CONFIG_T1042RDB + case PHY_INTERFACE_MODE_SGMII: + /* T1042RDB doesn't supports SGMII on DTSEC1 & DTSEC2 */ + if ((FM1_DTSEC1 == i) || (FM1_DTSEC2 == i)) + fm_info_set_phy_address(i, 0); + /* T1042RDB only supports SGMII on DTSEC3 */ + fm_info_set_phy_address(FM1_DTSEC3, + CONFIG_SYS_SGMII1_PHY_ADDR); + break; +#endif case PHY_INTERFACE_MODE_RGMII: if (FM1_DTSEC4 == i) phy_addr = CONFIG_SYS_RGMII1_PHY_ADDR; |