]> git.baikalelectronics.ru Git - uboot.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)
commit1e61bf14cb6c56d1847b2cf42004b174476e747a
tree27b9333efb35e01b32caec8d0491dfac9a6e9311
parent279337a2290c5a902431ff1b9caeed21280e5166
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