summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorurwithsughosh@gmail.com <urwithsughosh@gmail.com>2007-09-10 14:54:56 -0400
committerWolfgang Denk <wd@denx.de>2007-09-15 21:41:58 +0200
commitcd2d1602c54cc6957bdef3872272a4b264893960 (patch)
treecfbf4237c2f7c2ba571dd4136ab4cb20d2bc6523 /drivers
parent5bd7fe9aeb76906371f40b8fd07613f10922e3e7 (diff)
downloadu-boot-imx-cd2d1602c54cc6957bdef3872272a4b264893960.zip
u-boot-imx-cd2d1602c54cc6957bdef3872272a4b264893960.tar.gz
u-boot-imx-cd2d1602c54cc6957bdef3872272a4b264893960.tar.bz2
Typo fix in tsec.c
Fixup for the break statement in wrong place. [Patch by urwithsughosh@gmail.com] Acked-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/tsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tsec.c b/drivers/tsec.c
index 6bca4dc..4ff3339 100644
--- a/drivers/tsec.c
+++ b/drivers/tsec.c
@@ -1262,10 +1262,10 @@ uint mii_parse_lxt971_sr2(uint mii_reg, struct tsec_private *priv)
case MIIM_LXT971_SR2_100HDX:
priv->speed = 100;
priv->duplexity = 0;
+ break;
default:
priv->speed = 100;
priv->duplexity = 1;
- break;
}
} else {
priv->speed = 0;