mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 01:19:49 +00:00
powerpc/t1040rdb: added a break in switch case
There should be a break for case PHY_INTERFACE_MODE_SGMII, otherwise it will fall into case PHY_INTERFACE_MODE_RGMII. Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
This commit is contained in:
parent
e2c9bc5ea6
commit
b0615f0bd2
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ int board_eth_init(bd_t *bis)
|
||||||
/* T1040RDB only supports SGMII on DTSEC3 */
|
/* T1040RDB only supports SGMII on DTSEC3 */
|
||||||
fm_info_set_phy_address(FM1_DTSEC3,
|
fm_info_set_phy_address(FM1_DTSEC3,
|
||||||
CONFIG_SYS_SGMII1_PHY_ADDR);
|
CONFIG_SYS_SGMII1_PHY_ADDR);
|
||||||
|
break;
|
||||||
#endif
|
#endif
|
||||||
case PHY_INTERFACE_MODE_RGMII:
|
case PHY_INTERFACE_MODE_RGMII:
|
||||||
if (FM1_DTSEC4 == i)
|
if (FM1_DTSEC4 == i)
|
||||||
|
|
Loading…
Reference in a new issue