diff options
author | Thierry Reding <treding@nvidia.com> | 2019-04-15 11:32:13 +0200 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2019-06-05 09:16:32 -0700 |
commit | ebf30e8451f457aebc8232a674fa75823dd10d49 (patch) | |
tree | e7ecd8f5cdc54875abb8dc0fb9b3b77ffb7636b0 /net/fastboot.c | |
parent | 6d93d245c148f10f15724601650fab3a665f102c (diff) |
fdtdec: Add fdtdec_set_ethernet_mac_address()
This function can be used to set the local MAC address for the default
Ethernet interface in its device tree node. The default interface is
identified by the "ethernet" alias.
One case where this is useful is for devices that store their MAC
address in a custom location. Once extracted, board code can store the
MAC address in U-Boot's control DTB so that it will automatically be
used by the Ethernet uclass.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'net/fastboot.c')
0 files changed, 0 insertions, 0 deletions