aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/storm/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/storm/mainboard.c')
-rw-r--r--src/mainboard/google/storm/mainboard.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mainboard/google/storm/mainboard.c b/src/mainboard/google/storm/mainboard.c
index 57fc1d07fa..6a89be04df 100644
--- a/src/mainboard/google/storm/mainboard.c
+++ b/src/mainboard/google/storm/mainboard.c
@@ -110,8 +110,7 @@ void lb_board(struct lb_header *header)
dma->range_start = (uintptr_t)_dma_coherent;
dma->range_size = REGION_SIZE(dma_coherent);
-#if CONFIG(CHROMEOS)
/* Retrieve the switch interface MAC addresses. */
- lb_table_add_macs_from_vpd(header);
-#endif
+ if (CONFIG(CHROMEOS))
+ lb_table_add_macs_from_vpd(header);
}