]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: ks8851: Implement EEPROM MAC address readout
authorMarek Vasut <marex@denx.de>
Thu, 8 Oct 2020 13:14:17 +0000 (15:14 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 9 Nov 2020 19:18:09 +0000 (14:18 -0500)
commit68cbc63da0e9ba5c26c4f98f076f7a6e2fb3ccef
tree85d453086c6d02a9c511459b72eabdc191db2956
parent22ad69b7987eb4b10221330661db4427e40174fb
net: ks8851: Implement EEPROM MAC address readout

In case there is an EEPROM attached to the KS8851 MAC and the EEPROM
contains a valid MAC address, the MAC address is loaded into the NIC
registers on power on. Read the MAC address out of the NIC registers
and provide it to U-Boot.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Eugen Hristev <eugen.hristev@microchip.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/ks8851_mll.c