diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-12-19 22:21:23 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-12-31 12:25:42 +0000 |
commit | 2c626f332b938caabb38f85db5cafb2f502b5a52 (patch) | |
tree | 83ccd64e9551cb62d3000de4ac2539a944c701bc /src/mainboard/google/storm | |
parent | 673698636fdf2a967f73997ce0908992bba09409 (diff) |
coreboot_table: Convert some CONFIG(CHROMEOS) preprocessor
Change-Id: I1e63a419db92642df6b7956050c39540c2ae11d6
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48781
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/storm')
-rw-r--r-- | src/mainboard/google/storm/mainboard.c | 5 |
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); } |