Skip to content
Commit 1335e31e authored by Marek Behún's avatar Marek Behún Committed by Stefan Roese
Browse files

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: default avatarMarek Behún <marek.behun@nic.cz>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
parent 0034d84a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment