dm: eth: Add support for ethprime env var
authorJoe Hershberger <joe.hershberger@ni.com>
Sun, 22 Mar 2015 22:09:17 +0000 (17:09 -0500)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:13 +0000 (11:11 -0600)
commit6536b9bb769fe764f4793a1b37a2619391bb2482
treec37a0e61c47ef3be23ba0d6f9dadec73f6d21816
parente58780dcb7b8656ebc2dd6ba6d0da728bc65bf40
dm: eth: Add support for ethprime env var

The ethprime env var is used to indicate the starting device if none is
specified in ethact. Also support aliases specified in the ethprime var.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
net/eth.c
test/dm/eth.c