projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
879cf26
)
FEC: Use defined constant instead of magic number
author
Marek Vasut
<marek.vasut@gmail.com>
Sun, 11 Sep 2011 18:05:30 +0000
(18:05 +0000)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Fri, 30 Sep 2011 20:01:01 +0000
(22:01 +0200)
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Ben Warren <biggerbadderben@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
drivers/net/fec_mxc.c
patch
|
blob
|
history
diff --git
a/drivers/net/fec_mxc.c
b/drivers/net/fec_mxc.c
index 82fe1e4ca61cd6a8ab6414e9ed630013e78d81aa..8e0d30a1318659aada57d1f04cff682501aaee66 100644
(file)
--- a/
drivers/net/fec_mxc.c
+++ b/
drivers/net/fec_mxc.c
@@
-712,7
+712,7
@@
static int fec_probe(bd_t *bd)
/* Reset chip. */
writel(readl(&fec->eth->ecntrl) | FEC_ECNTRL_RESET, &fec->eth->ecntrl);
- while (readl(&fec->eth->ecntrl) &
1
)
+ while (readl(&fec->eth->ecntrl) &
FEC_ECNTRL_RESET
)
udelay(10);
/*