coreboot/src
Damien Zammit ff39666fa6 UPSTREAM: 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

BUG=None
BRANCH=None
TEST=None

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>

Change-Id: If1af91120fa3efca3f1406334a83ed1e59fbdaf9
Reviewed-on: https://chromium-review.googlesource.com/418372
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-12-08 22:46:52 -08:00
..
acpi UPSTREAM: src/acpi: Capitalize ACPI and SATA 2016-08-04 23:37:57 -07:00
arch UPSTREAM: PCI ops: MMCONF_SUPPORT_DEFAULT is required 2016-12-08 12:31:39 -08:00
commonlib UPSTREAM: lib: Add time stamp when starting to finalize chips 2016-12-08 22:46:24 -08:00
console UPSTREAM: console/vtxprintf.c: cast precision to size_t for string length 2016-11-29 17:38:21 -08:00
cpu UPSTREAM: MMCONF_SUPPORT: Flip default to enabled 2016-12-08 12:31:41 -08:00
device UPSTREAM: src/device: Get device structure by path type 2016-12-08 22:46:36 -08:00
drivers UPSTREAM: drivers/r8168: Read default MAC address from CBFS 2016-12-08 22:46:52 -08:00
ec UPSTREAM: sio/acpi: Add more magic bytes to ENTER/EXIT_CONFIG_MODE 2016-12-08 22:46:20 -08:00
include UPSTREAM: src/device: Get device structure by path type 2016-12-08 22:46:36 -08:00
lib UPSTREAM: lib: Add time stamp when starting to finalize chips 2016-12-08 22:46:24 -08:00
mainboard UPSTREAM: google/beltino: fix LED, simplify function for Tricky variant 2016-12-08 22:46:41 -08:00
northbridge UPSTREAM: nb/intel/sandybridge: Lock PAVPC 2016-12-08 22:46:48 -08:00
soc UPSTREAM: soc/broadwell: set EM4/EM5 registers based on cdclk 2016-12-08 22:46:43 -08:00
southbridge UPSTREAM: sb/intel/bd82x6x: Add TCO_Lock in finalize step 2016-12-08 22:46:45 -08:00
superio UPSTREAM: sio/ite/it8783ef: New super i/o chip 2016-12-08 22:46:22 -08:00
vboot UPSTREAM: commonlib/include: remove NEED_VB20_INTERNALS 2016-11-21 11:53:31 -08:00
vendorcode UPSTREAM: vendorcode/siemens: Ensure a given info block is available for a field 2016-12-08 12:30:42 -08:00
Kconfig UPSTREAM: PCI ops: MMCONF_SUPPORT_DEFAULT is required 2016-12-08 12:31:39 -08:00