]> git.ipfire.org Git - people/ms/u-boot.git/commit
dm: eth: Stick to 'ethact' when 'ethrotate' is 'no' in eth_init()
authorBin Meng <bmeng.cn@gmail.com>
Tue, 22 Dec 2015 06:43:39 +0000 (22:43 -0800)
committerSimon Glass <sjg@chromium.org>
Thu, 7 Jan 2016 17:27:07 +0000 (10:27 -0700)
commit4cdc2c8cc018ba90050bee7622148032af7341ec
tree2d0acf6ce5d9d68ce17b829930237fedb0a1e661
parenta671c4f2bea6215140b34726900d4f0aa5892e6a
dm: eth: Stick to 'ethact' when 'ethrotate' is 'no' in eth_init()

When 'ethrotate' variable is set to 'no' and 'ethact' variable
is already set to an ethernet device, we should stick to 'ethact'.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
net/eth.c