storm: retrieve MAC address from VPD
Retrieving MAC address from VPD should be the board responsibility,
add a call to the recently introduced function.
BRANCH=storm
BUG=chromium:417117
TEST=verified that MAC addresses still show up in the device tree on
storm
Change-Id: I3913b10a425d8e8621b832567871ed4861756381
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/223797
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
parent
fb4906ac55
commit
285cb256e6
1 changed files with 3 additions and 0 deletions
|
|
@ -137,6 +137,9 @@ void lb_board(struct lb_header *header)
|
|||
dma->size = sizeof(*dma);
|
||||
dma->range_start = (uintptr_t)_dma_coherent;
|
||||
dma->range_size = _dma_coherent_size;
|
||||
|
||||
/* Retrieve the switch interface MAC addressses. */
|
||||
lb_table_add_macs_from_vpd(header);
|
||||
}
|
||||
|
||||
#define FAKE_GPIO_NUM -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue