intel/i210: Change API for function mainboard_get_mac_address()

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

Change-Id: I2335d995651baa5e23a0448f5f32310dcd394f9b
Signed-off-by: Werner Zeh <>
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <>
5 files changed