[U-Boot] [PATCH 1/3][v3] common: Fix-up MAC addr in dts by fetching env variable serially

York Sun york.sun at nxp.com
Tue Dec 12 17:56:30 UTC 2017


On 11/23/2017 03:22 AM, Prabhakar Kushwaha wrote:
> The MAC addresses get fixed in the device tree for "ethernet" nodes
> is by using trailing number behind "ethernet" found in "/aliases".
> It may not be necessary for the "ethernet" nodes to be sequential.
> There can be gaps in between or any node disabled
> 
> So provide a support to fetch MAC addr sequentially from env
> and apply them to "ethernet" nodes in the order they appear in
> device tree only if "ethernet" is not "disabled"
> 
> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>
> ---
> Changes for v2: Updated description and README
> Changes for v3: sending as it is
> 

Reviewed-by: York Sun <york.sun at nxp.com>




More information about the U-Boot mailing list