net: Implement random ethaddr fallback in eth.c
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 4 May 2015 19:55:13 +0000 (14:55 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 19 May 2015 18:33:21 +0000 (13:33 -0500)
commitbef1014b31c5b33052bcaa865ba3618d73e906f0
treeb56bfdcf1466f142f2aeb4ed87cb6e6a87d73f24
parentabbfcbe58eefc1accda5dd120fcfe58d244b63dd
net: Implement random ethaddr fallback in eth.c

Implement the random ethaddr fallback in eth.c so it is in a common
place and not reimplemented in each board or driver that wants this
behavior.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
README
doc/README.enetaddr
net/Kconfig
net/eth.c