net: eth-uclass: Improve error message when MAC is not found
authorFabio Estevam <festevam@denx.de>
Fri, 20 Oct 2023 12:41:51 +0000 (09:41 -0300)
committerTom Rini <trini@konsulko.com>
Sun, 5 Nov 2023 21:11:38 +0000 (16:11 -0500)
commit7907cf80049df56d7a8f66c91626154986fa59e2
tree5c55d82565f754034ec1e34238484b088e851414
parent9e4cabcf4356d13ad0abb602278b34e4a7ca57ae
net: eth-uclass: Improve error message when MAC is not found

While bringinp up a new board without the MAC fuses programmed,
the following error message was observed:

Error: ethernet@30bf0000 address not set.

Improve the error message to make it clearer the reason of
the failure.

Signed-off-by: Fabio Estevam <festevam@denx.de>
net/eth-uclass.c