diff options
author | Damien Zammit <damien@zamaudio.com> | 2016-12-01 23:29:34 +1100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2016-12-08 12:40:46 +0100 |
commit | f5dd23f954d0de1295bd403f641223e1f79af153 (patch) | |
tree | 98ae34ed21258e7d2b2d6667538d46ccbf18a83b /src/lib | |
parent | d1e2edf7084f7d61b758a3e0d31cefffcb1cc9f6 (diff) |
drivers/r8168: Read default MAC address from CBFS
This driver applies to 10ec:8168
Previously, this driver resetted the nic and set a hardcoded
MAC address. Now the driver reads a default MAC address
from CBFS in the form of a string:
echo -n "xx:xx:xx:xx:xx:xx" > macaddress
and store the macaddress file in CBFS with the same name.
TESTED on GA-G41M-ES2L and GA-945GCM-S2L:
MAC address was detected
Change-Id: If1af91120fa3efca3f1406334a83ed1e59fbdaf9
Signed-off-by: Damien Zammit <damien@zamaudio.com>
Reviewed-on: https://review.coreboot.org/17672
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions