On 25.04.19 18:49, Thierry Reding wrote: > From: Thierry Reding <[email protected]> > > Add the standard Ethernet device tree bindings (imported from v5.0 of > the Linux kernel) and implement support for reading the MAC address for > Ethernet devices in the Ethernet uclass. If the "mac-address" property > exists, the MAC address will be parsed from that. If that property does > not exist, the "local-mac-address" property will be tried as fallback. > > MAC addresses from device tree take precedence over the ones stored in > a network interface card's ROM. > > Acked-by: Joe Hershberger <[email protected]> > Signed-off-by: Thierry Reding <[email protected]> > --- > Changes in v3: > - add additional check to make sure the MAC address read from device > tree is a valid MAC address > > Changes in v2: > - use dev_read_u8_array_ptr()
Reviewed-by: Grygorii Strashko <[email protected]> -- Best regards, grygorii _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

