[U-Boot] [PATCH] fdt_support: Fixup 'ethernet' aliases not ending in digits

Tuomas Tynkkynen tuomas at tuxera.com
Sat Mar 18 23:17:48 UTC 2017


On Sat, 18 Mar 2017 14:34:34 -0400
Tom Rini <trini at konsulko.com> wrote:

> On Sat, Mar 18, 2017 at 08:20:07PM +0200, Tuomas Tynkkynen wrote:
...
> > 
> > That one accepts everything starting with "ethernet", which sounds undesirable
> > if one wants to have e.g. an "ethernet-phy0" alias for some different purpose.  
> 
> True.  Would you mind doing a v2 of your patch then (and grab my part to
> just use the length of ethernet in the strncmp) where we don't add a
> comment implying RPi is "wrong" here and just that we sometimes have
> "ethernet" as the alias for the first and only ethernet device?  Thanks!
> 

Sure, will do it on Monday when I have access to my Pi again!


More information about the U-Boot mailing list