[PATCH v2 30/39] bdinfo: net: Drop legacy ethernet bdinfo

Bin Meng bmeng.cn at gmail.com
Sun May 17 16:10:45 CEST 2020


On Mon, May 11, 2020 at 4:17 AM Simon Glass <sjg at chromium.org> wrote:
>
> 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 at chromium.org>
> ---
>
> Changes in v2:
> - Squash in the next patch to inline print_eths()
>
>  cmd/bdinfo.c | 26 ++------------------------
>  1 file changed, 2 insertions(+), 24 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list