From 285cb256e619ef41c7f11680b3fa5310b1d93cf1 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Thu, 16 Oct 2014 13:26:59 -0700 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/223797 Reviewed-by: Julius Werner --- src/mainboard/google/storm/mainboard.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mainboard/google/storm/mainboard.c b/src/mainboard/google/storm/mainboard.c index 6d6f1c4b51..5d58bc4f72 100644 --- a/src/mainboard/google/storm/mainboard.c +++ b/src/mainboard/google/storm/mainboard.c @@ -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