commit | 68d3ec599edff1c7ead539820efbc2234fb965ed | [log] [tgz] |
---|---|---|
author | Eugen Hristev <eugen.hristev@microchip.com> | Wed Aug 05 15:30:34 2020 +0300 |
committer | Eugen Hristev <eugen.hristev@microchip.com> | Tue Sep 22 11:27:18 2020 +0300 |
tree | 29dd14bfced7f9d20926637d5cbe3948b1246584 | |
parent | 6a6fe3ed4d80afba7efc65a87aca5344672768c5 [diff] |
board: atmel: common: introduce at91_set_eth1addr for second interface We already have a function to retrieve the mac address from one EEPROM. For boards with a second Ethernet interface, however, we would require another EEPROM with a second unique MAC address. Introduce at91_set_eth1addr which will look for a second EEPROM and set the 'eth1addr' variable with the obtained MAC address. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>