All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] powerpc/t1040rdb: added a break in switch case
@ 2014-04-11  4:12 shh.xie at gmail.com
  2014-04-23 22:34 ` York Sun
  0 siblings, 1 reply; 2+ messages in thread
From: shh.xie at gmail.com @ 2014-04-11  4:12 UTC (permalink / raw)
  To: u-boot

From: Shaohui Xie <Shaohui.Xie@freescale.com>

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>
---
 board/freescale/t104xrdb/eth.c | 1 +
 1 file changed, 1 insertion(+)

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)
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] powerpc/t1040rdb: added a break in switch case
  2014-04-11  4:12 [U-Boot] [PATCH] powerpc/t1040rdb: added a break in switch case shh.xie at gmail.com
@ 2014-04-23 22:34 ` York Sun
  0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2014-04-23 22:34 UTC (permalink / raw)
  To: u-boot

On 04/10/2014 09:12 PM, shh.xie at gmail.com wrote:
> From: Shaohui Xie <Shaohui.Xie@freescale.com>
> 
> 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>
> ---

Applied to u-boot-mpc85xx/master, thanks.

York

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-23 22:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-11  4:12 [U-Boot] [PATCH] powerpc/t1040rdb: added a break in switch case shh.xie at gmail.com
2014-04-23 22:34 ` York Sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.