[U-Boot] net: macb: write mac address when initialization

Andreas Bießmann andreas.devel at googlemail.com
Mon Nov 17 13:14:25 CET 2014


Dear Bo Shen,

Bo Shen <voice.shen at atmel.com> writes:
>When boot up without mac address setting, it will give the warning
>message like: "Warning: failed to set MAC address", however when
>execute network related command, it still execute them without any
>warning information.
>
>With this patch, it will exit directly with following information:
>"gmac0: mac address is not valid"
>
>It also solve the problem after bootup then set mac address and the
>mac address won't set to net device issue.
>
>Signed-off-by: Bo Shen <voice.shen at atmel.com>
>Tested-by: Boris Brezillon <boris.brezillon at free-electrons.com>
>---
>
> drivers/net/macb.c | 9 +++++++++
> 1 file changed, 9 insertions(+)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bießmann


More information about the U-Boot mailing list