u-boot/board/CZ.NIC
Marek Behún 0034d84a66 arm: mvebu: turris_mox: Better check for valid ethernet addresses in env
Currently we overwrite ethaddr and eth1addr only if these variables
don't exist.

Better overwrite them even if the env variable exists, but is invalid -
eth_env_get_enetaddr_by_index() checks for validity.

Refactor the code to use a for cycle.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
2021-10-21 07:39:05 +02:00
..
turris_mox arm: mvebu: turris_mox: Better check for valid ethernet addresses in env 2021-10-21 07:39:05 +02:00
turris_omnia arm: mvebu: turris_omnia: fix leaked mtd device 2021-09-27 07:41:45 +02:00