]> git.baikalelectronics.ru Git - uboot.git/commit
net: use random ethernet address if invalid and not zero
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Wed, 2 Nov 2016 11:52:13 +0000 (12:52 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 7 Nov 2016 17:28:16 +0000 (11:28 -0600)
commit7f1e8b90af0d56647bac56c4eb3ee8016f353412
treee2876fabac3e50626e8313cc994cb551107b0e2b
parent5b6b594bdccbfade2c5aa2197670f98ab47802b6
net: use random ethernet address if invalid and not zero

Use random ethernet address if the ethernet address found
is invalid, not zero and config for random address
is defined.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
net/eth-uclass.c