diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2015-05-04 14:55:13 -0500 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2015-05-19 13:33:21 -0500 |
commit | bef1014b31c5b33052bcaa865ba3618d73e906f0 (patch) | |
tree | b56bfdcf1466f142f2aeb4ed87cb6e6a87d73f24 /README | |
parent | abbfcbe58eefc1accda5dd120fcfe58d244b63dd (diff) | |
download | u-boot-bef1014b31c5b33052bcaa865ba3618d73e906f0.tar.gz |
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>
Diffstat (limited to 'README')
-rw-r--r-- | README | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5623,7 +5623,8 @@ o If both the SROM and the environment contain a MAC address, and the warning is printed. o If neither SROM nor the environment contain a MAC address, an error - is raised. + is raised. If CONFIG_NET_RANDOM_ETHADDR is defined, then in this case + a random, locally-assigned MAC is used. If Ethernet drivers implement the 'write_hwaddr' function, valid MAC addresses will be programmed into hardware as part of the initialization process. This |