diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2017-03-20 10:04:55 +0200 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2017-03-26 09:58:23 -0500 |
commit | f8e57c650d691e3617c49a16ec7a4dcab436100e (patch) | |
tree | 22fdc64f1899bc8eb5aa3c5614e11f0dee93b958 /doc/device-tree-bindings | |
parent | 27a0f038a7f8c999fbffa8b26b16b24dc846e1cf (diff) | |
download | u-boot-f8e57c650d691e3617c49a16ec7a4dcab436100e.tar.gz |
fdt_support: Fixup 'ethernet' aliases not ending in digits
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@tuxera.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'doc/device-tree-bindings')
0 files changed, 0 insertions, 0 deletions