[U-Boot] [PATCH] net: eth-uclass: Remove warning about ROM MAC address

Fabio Estevam festevam at gmail.com
Tue Dec 10 10:47:43 CET 2019


Hi Joe,

On Fri, Oct 11, 2019 at 12:06 AM Joe Hershberger <joe.hershberger at ni.com> wrote:
>
> Hi Soeren,
>
> On Thu, Oct 10, 2019 at 6:01 PM Soeren Moch <smoch at web.de> wrote:
> >
> > Using a MAC address from ROM storage is the normal case for most
> > ethernet hardware. Why should we warn about this?
>
> Most hardware that U-Boot runs on is an SoC and the boards rarely have
> a ROM associated with the Ethernet MAC. Usually the storage for the
> ethaddr is the U-Boot environment itself. That's the reason it warns.

On i.MX SoCs the MAC usually is stored in fuses via On-Chip OTP
Controller (OCOTP).

Should we at least change the message to debug() level instead?

As Soeren says there is nothing wrong with the fact that the MAC
addresses are retrieved from fuses and there is nothing the user can
do about this warning message.

IMHO it is causing pure noise.

Thanks


More information about the U-Boot mailing list