[U-Boot] omap2: set the ethaddr as well as the usbethaddr env var to ensure static MAC

Tom Rini trini at konsulko.com
Mon Dec 4 18:35:33 UTC 2017


On Thu, Nov 23, 2017 at 01:14:17PM +0000, Peter Robinson wrote:

> The kernel gets the ethernet MAC from the ethaddr variable, the omap boards for
> devices with USB based eth adapters just set the usbethaddr which doesn't appear
> to get passed to the kernel. The same Raspberry Pi code sets both ethaddr and
> usbethaddr so lets do that so linux (tested 4.13 and 4.14) get a static rather
> than a random MAC address, while not regressing users of usbethaddr.
> 
> Signed-off-by: Peter Robinson <pbrobinson at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171204/0290fe84/attachment.sig>


More information about the U-Boot mailing list