summaryrefslogtreecommitdiff
path: root/common/cmd_mii.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-10-15 18:23:43 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-10-15 18:23:43 +0200
commit84bd92bdda05e6aaae3150ed6ef957b3a67398b7 (patch)
treeea5e3abbeff7e3f8412a2e34645b9773f50578e8 /common/cmd_mii.c
parent77ddac9480d63a80b6bb76d7ee4dcc2d1070867e (diff)
parent36247821ef77cc13d5f9fdbf7771564f9f8386bd (diff)
downloadu-boot-imx-84bd92bdda05e6aaae3150ed6ef957b3a67398b7.zip
u-boot-imx-84bd92bdda05e6aaae3150ed6ef957b3a67398b7.tar.gz
u-boot-imx-84bd92bdda05e6aaae3150ed6ef957b3a67398b7.tar.bz2
Merge with /home/m8/git/u-boot
Diffstat (limited to 'common/cmd_mii.c')
-rw-r--r--common/cmd_mii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_mii.c b/common/cmd_mii.c
index 722b9f0..f93232c 100644
--- a/common/cmd_mii.c
+++ b/common/cmd_mii.c
@@ -91,7 +91,7 @@ int do_mii (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
* Look for any and all PHYs. Valid addresses are 0..31.
*/
if (argc >= 3) {
- start = addr; end = addr + 1;
+ start = addrlo; end = addrhi + 1;
} else {
start = 0; end = 32;
}