diff options
author | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2017-11-23 16:51:32 +0530 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-12-24 12:42:50 -0700 |
commit | 24acb83d8f04e9a49f161c07d38da50c70e9f16d (patch) | |
tree | 57fad761c1de01d9435456e7ad183fefb5a8140f /config.mk | |
parent | 48a346061d1f0a7eff566f6a7cc7eeeba7efb1e2 (diff) | |
download | u-boot-24acb83d8f04e9a49f161c07d38da50c70e9f16d.tar.gz |
common: Fix-up MAC addr in dts by fetching env variable serially
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@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'config.mk')
0 files changed, 0 insertions, 0 deletions