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

Simon Glass sjg at chromium.org
Tue Dec 19 13:18:44 UTC 2017


On 12 December 2017 at 10:56, York Sun <york.sun at nxp.com> wrote:
> 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>

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list