summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorShaohui Xie <Shaohui.Xie@freescale.com>2014-04-11 12:12:30 +0800
committerYork Sun <yorksun@freescale.com>2014-04-22 17:58:52 -0700
commitb0615f0bd22abc575824a0e20d1192913b77e282 (patch)
tree446531abbf733d1f185c8b1fbe04c658d0d412f8 /board/freescale
parente2c9bc5ea6e0ff318d8e6ea27dc37826b6627a95 (diff)
downloadu-boot-imx-b0615f0bd22abc575824a0e20d1192913b77e282.zip
u-boot-imx-b0615f0bd22abc575824a0e20d1192913b77e282.tar.gz
u-boot-imx-b0615f0bd22abc575824a0e20d1192913b77e282.tar.bz2
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>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/t104xrdb/eth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/freescale/t104xrdb/eth.c b/board/freescale/t104xrdb/eth.c
index 0188fd4..63e5f90 100644
--- a/board/freescale/t104xrdb/eth.c
+++ b/board/freescale/t104xrdb/eth.c
@@ -41,6 +41,7 @@ int board_eth_init(bd_t *bis)
/* T1040RDB 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)