summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-06-19 05:45:14 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-06-22 07:13:41 +0200
commit63fd2b318ea3866c46bd4f85b4a64a269512db35 (patch)
tree7bf734f70d32a74d80b2253978ca1b112d2407b9 /net
parent33be33ea617514df622a2a468b426e8a628c87e8 (diff)
downloadbarebox-63fd2b318ea3866c46bd4f85b4a64a269512db35.tar.gz
of: of_net: sync of_get_mac_address with Linux for NVMEM support
We don't use of_get_mac_address anywhere, but it can come in handy as a last resort before barebox generates a random MAC address. With the existing implementation, that MAC address is written literally into the DT, so it's mainly useful when barebox is booted with an external device tree. The kernel implementation adds support for parsing the MAC address out of a revered mac-address nvmem cell, which is much more prevalent. Sync the implementation with Linux v5.13 in preparation for using it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210619034516.6737-12-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions