aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2011-07-13 23:05:19 -0600
committerJohn Rigby <john.rigby@linaro.org>2012-04-23 07:48:52 -0600
commitaca528b063fb703357c63fec22bea28386d70f35 (patch)
tree4bfa9cbe292786e0ccd924bc2be27e85ddd687a2
parent368cfd9cfc59378534e55d9faec68d328c68ad94 (diff)
downloadu-boot-linaro-stable-aca528b063fb703357c63fec22bea28386d70f35.tar.gz
PXE: look for usbethaddr if no ethaddr
Signed-off-by: John Rigby <john.rigby@linaro.org>
-rw-r--r--common/cmd_pxe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c
index b3c1f67a3..534e7bc63 100644
--- a/common/cmd_pxe.c
+++ b/common/cmd_pxe.c
@@ -62,6 +62,9 @@ static int format_mac_pxe(char *outbuf, size_t outbuf_len)
ethaddr = from_env("ethaddr");
if (!ethaddr)
+ ethaddr = from_env("usbethaddr");
+
+ if (!ethaddr)
return -ENOENT;
ethaddr_len = strlen(ethaddr);