From: Tom Rini Date: Mon, 20 Mar 2017 10:29:36 -0400 Subject: [U-Boot] [PATCH v2] fdt_support: Fixup 'ethernet' aliases not ending in digits In-Reply-To: <20170320080455.24993-1-tuomas@tuxera.com> References: <20170320080455.24993-1-tuomas@tuxera.com> Message-ID: <20170320142936.GV19897@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: