The function mainboard_get_mac_address() is used to get a MAC address for a given i210 PCI device. Instead of passing pure numbers for PCI bus, device and function pass the device pointer to this function. In this way the function can retrieve the needed values itself as well as have the pointer to the device tree so that PCI path can be evaluated there. BUG=None BRANCH=None TEST=None Change-Id: I2335d995651baa5e23a0448f5f32310dcd394f9b Original-Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Original-Reviewed-on: https://review.coreboot.org/15516 Original-Tested-by: build bot (Jenkins) Original-Reviewed-by: Kysti Mlkki <kyosti.malkki@gmail.com> Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/358599 Reviewed-by: Martin Roth <martinroth@chromium.org> |
||
|---|---|---|
| .. | ||
| i210.c | ||
| i210.h | ||
| Kconfig | ||
| Makefile.inc | ||