[U-Boot] [PATCH v2] fdt_support: Fixup 'ethernet' aliases not ending in digits
Tom Rini
trini at konsulko.com
Mon Mar 20 14:29:36 UTC 2017
On Mon, Mar 20, 2017 at 10:04:55AM +0200, Tuomas Tynkkynen wrote:
> The Raspberry Pi device tree files since Linux v4.9 have a "ethernet"
> alias pointing to the on-board Ethernet device node. However,
> U-Boot's fdt_fixup_ethernet() only looks at ethernet aliases ending
> in digits.
>
> As the spec doesn't mandate that aliases must end in numbers and there
> have been much older uses of an "ethernet" aliases in the wild
> (according to Tom Rini), change the code to accept "ethernet" as well.
>
> Without this Linux isn't told of the MAC address provided by the
> RPI firmware and the ethernet interface is always assigned a random MAC
> address.
>
> Signed-off-by: Tuomas Tynkkynen <tuomas at tuxera.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170320/db3b241f/attachment.sig>
More information about the U-Boot
mailing list