cmd/bdinfo: extract print_eth_ip_addr
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 28 Jul 2016 00:57:22 +0000 (03:57 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 5 Aug 2016 11:27:27 +0000 (07:27 -0400)
commit8752e260c46d50748ff45be8e0c0e6973737763f
tree0c84326c14008f7c242633041ef024004d54966e
parentf80e5359801b5edb705bd86b29bf3d9aff13990a
cmd/bdinfo: extract print_eth_ip_addr

print_eth_ip_addr outputs eth configurations for up to 6 interfaces and
configured IP address.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
cmd/bdinfo.c