]> git.baikalelectronics.ru Git - uboot.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)
commita0f39cafa7664b4dcebbff0b9ef91ba65bd3fd43
treecb9e7872a83658078a9defdb4761257a84787941
parent2c8dd725ff4d98c03a0dacc175ac5a3b53294979
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