summaryrefslogtreecommitdiff
path: root/src/vendorcode
diff options
context:
space:
mode:
authorWerner Zeh <werner.zeh@siemens.com>2016-06-29 07:53:47 +0200
committerWerner Zeh <werner.zeh@siemens.com>2016-07-05 06:27:44 +0200
commite22d96c0f9c2158e4b120685d773476d635cc41d (patch)
tree11e66d5136b1c620530aaafd0b1f8198fb083e81 /src/vendorcode
parent2b80734811ee056f0447bab359ec5961e90101b7 (diff)
downloadcoreboot-e22d96c0f9c2158e4b120685d773476d635cc41d.tar.xz
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 there. Change-Id: I2335d995651baa5e23a0448f5f32310dcd394f9b Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/15516 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/vendorcode')
-rw-r--r--src/vendorcode/siemens/hwilib/hwilib.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vendorcode/siemens/hwilib/hwilib.h b/src/vendorcode/siemens/hwilib/hwilib.h
index d8580916a2..fc083de213 100644
--- a/src/vendorcode/siemens/hwilib/hwilib.h
+++ b/src/vendorcode/siemens/hwilib/hwilib.h
@@ -18,7 +18,6 @@
#include <types.h>
-
/* Declare all supported fields which can be get with hwilib. */
typedef enum {
HIB_VerID = 0,
@@ -135,7 +134,4 @@ enum cb_err hwilib_find_blocks (const char *hwi_filename);
*/
uint32_t hwilib_get_field (hwinfo_field_t field, uint8_t *data, uint32_t maxlen);
-/* This functions needs to be implemented for every mainboard that uses i210. */
-enum cb_err mainboard_get_mac_address(uint16_t bus, uint8_t devfn,
- uint8_t mac[6]);
#endif /* SIEMENS_HWI_LIB_H_ */