commit | 1335e31ecc2cd7e4e51b730499198c7548ac0a3f | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Sat Oct 09 19:33:43 2021 +0200 |
committer | Stefan Roese <sr@denx.de> | Thu Oct 21 07:39:05 2021 +0200 |
tree | a0af1b18c1130b7dd33ce6820cd2be22deab57d7 | |
parent | 0034d84a66eaa51263a4881274b75de5b1c4f800 [diff] |
arm: mvebu: turris_omnia: Overwrite ethaddr only if invalid Currently we always overwrite ethaddrs with those from EEPROM. In order to allow user to use a cloned MAC address in U-Boot, change the code so that it sets ethaddr variables only if they aren't set or are invalid. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>