]> git.baikalelectronics.ru Git - uboot.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)
commite3abfa4bf83c2689e8a905b410585c419fdb9d32
tree85d453086c6d02a9c511459b72eabdc191db2956
parent58c1febe24585ffa6fcffe767364ad2dec416f3c
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