diff options
author | Shelley Chen <shchen@chromium.org> | 2017-06-12 18:29:24 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-06-20 03:17:51 +0200 |
commit | 0528b6132e6186c0fc63d1fbdc5c312c95c85d97 (patch) | |
tree | a346f976adaad8d6b869e39fa8c6dd3138aae335 /src/lib/imd_cbmem.c | |
parent | 5aa64b97db0577f4ba2e83b36fc41d33453cfb3d (diff) |
drivers/net/r8168: Get mac address from VPD
If RT8168_GET_MAC_FROM_VPD selected, use r8168
driver with some slight mods to check the VPD
for a mac address. Otherwise, check for mac
address in cbfs. Use default mac address if
cannot find one.
BUG=b:62090148, b:35775024
BRANCH=None
TEST=Boot to kernel. Insert mac address into VPD
vpd -s ethernet_mac=<address>
reboot the system.
Ensure we have ip address and corresponding mac
address with ifconfig.
Ensure ethernet controller shows up with lspci.
Change-Id: I7ff29de2c4c3635dc786686cc071c68d51b0f975
Signed-off-by: Shelley Chen <shchen@chromium.org>
Reviewed-on: https://review.coreboot.org/20008
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/lib/imd_cbmem.c')
0 files changed, 0 insertions, 0 deletions