From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sun, 17 May 2020 22:10:45 +0800 Subject: [PATCH v2 30/39] bdinfo: net: Drop legacy ethernet bdinfo In-Reply-To: <20200510201702.196031-22-sjg@chromium.org> References: <20200510201702.196031-1-sjg@chromium.org> <20200510201702.196031-22-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, May 11, 2020 at 4:17 AM Simon Glass 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 > --- > > 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