]> git.dujemihanovic.xyz Git - u-boot.git/commit
bdinfo: net: Drop legacy ethernet bdinfo
authorSimon Glass <sjg@chromium.org>
Sun, 10 May 2020 20:16:53 +0000 (14:16 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 25 Jun 2020 17:24:12 +0000 (13:24 -0400)
commit441539f90a21156c69e870fcbda13157ce69a1dc
tree27b9333efb35e01b32caec8d0491dfac9a6e9311
parent3c89c4c8562754fe1540938ec0ddbb41e7d130a8
bdinfo: net: Drop legacy ethernet bdinfo

This code pre-dates driver model and the migration date is nearly upon us.
Pare the print_eths() function down and enable it for driver model, since
it works correctly.

The IP address is already printed in print_eth_ip_addr() so we can remove
that.

Since this results in a one-line print_eths() function, inline it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
cmd/bdinfo.c