chromeos: move VPD MAC address retrieval function
Retrieval of the MAC address from the VPD is a Chrome OS specific feature, required just on one platform so far. There is no need to look for the MAC address in the VPD on all other Chrome OS boards. BRANCH=storm BUG=chromium:417117 TEST=with the upcoming patch applied verified that MAC addresses still show up in the device tree on storm Change-Id: If5fd4895bffc758563df7d21f38995f0c8594330 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: fb4906ac559634321a01b4814f338611b9e98b2b Original-Change-Id: I8e6f8dc38294d3ab11965931be575360fd12b2fc Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/223796 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: http://review.coreboot.org/9398 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
931a218d68
commit
dd94b5f023
@@ -366,6 +366,12 @@ void lb_add_console(uint16_t consoletype, void *data);
|
||||
/* Define this in mainboard.c to add board-specific table entries. */
|
||||
void lb_board(struct lb_header *header);
|
||||
|
||||
/*
|
||||
* Function to retrieve MAC address(es) from the VPD and store them in the
|
||||
* coreboot table.
|
||||
*/
|
||||
void lb_table_add_macs_from_vpd(struct lb_header *header);
|
||||
|
||||
struct lb_record *lb_new_record(struct lb_header *header);
|
||||
|
||||
#endif /* COREBOOT_TABLES_H */
|
||||
|
Reference in New Issue
Block a user