]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: Add support for reading mac addresses from nvmem cells
authorSean Anderson <sean.anderson@seco.com>
Thu, 5 May 2022 17:11:41 +0000 (13:11 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 8 Jun 2022 18:00:22 +0000 (14:00 -0400)
commit97d0f9bfdd025f0e7db8ff09238fe88d039c2a70
treecb9e7872a83658078a9defdb4761257a84787941
parent185d3db7bea048bc2257c57fdc3a2edb79d7b36f
net: Add support for reading mac addresses from nvmem cells

This adds support for reading mac addresses from the "mac-address" nvmem
cell. If there is no (local-)mac-address property, then we will try
reading from an nvmem cell.

For some existing examples of this property, refer to imx8mn.dtsi and
imx8mp.dtsi. Unfortunately, fuse drivers have not yet been converted
to DM.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
net/eth-uclass.c