]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: bdinfo: Print ethaddr of current MAC
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 22 Apr 2023 13:01:33 +0000 (15:01 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 3 May 2023 22:30:46 +0000 (18:30 -0400)
commita76315052b93e73444c4703b610660ccbd38deda
treebda14e4a2ed963e78b9a1159f56f7895cd9c038d
parentd8eb4e2c05406dcaad30b36fa2a69a63dff376a4
cmd: bdinfo: Print ethaddr of current MAC

Instead of always printing ethaddr of MAC 0, print eth%daddr of the current MAC.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/bdinfo.c