summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef/variants/snappy
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2022-10-22 22:34:35 -0500
committerAngel Pons <th3fanbus@gmail.com>2022-11-04 20:37:43 +0000
commitf72c090b7f0df83e73711565b9d966aaf83e1b56 (patch)
tree6f7f349abc01359a8648672ee70d2a9d9130eead /src/mainboard/google/reef/variants/snappy
parent2890841e6f8ff05850d2327480fda260020e5c61 (diff)
mb/google/reef: Fix guarding of reading SKU from VPD
VPD read depends on CONFIG(VPD), not CONFIG(CHROMEOS). TEST=build/boot snappy, verify SKU set properly in SMBIOS Change-Id: I8aa57f793bd04dbe31f3b49bbff23e05c96592a6 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68753 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/google/reef/variants/snappy')
-rw-r--r--src/mainboard/google/reef/variants/snappy/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/reef/variants/snappy/mainboard.c b/src/mainboard/google/reef/variants/snappy/mainboard.c
index fc0652cf91..0b155054bb 100644
--- a/src/mainboard/google/reef/variants/snappy/mainboard.c
+++ b/src/mainboard/google/reef/variants/snappy/mainboard.c
@@ -43,7 +43,7 @@ uint8_t variant_board_sku(void)
board_sku_num = sku_strapping_value();
- if (!CONFIG(CHROMEOS))
+ if (!CONFIG(VPD))
return board_sku_num;
if (!vpd_gets(vpd_skuid, vpd_buffer, ARRAY_SIZE(vpd_buffer), VPD_RO_THEN_RW))