summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef
diff options
context:
space:
mode:
authorJonathan Zhang <jonzhang@fb.com>2020-05-28 11:02:13 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-06-02 07:18:14 +0000
commita9117ed49645a9e87c61398680711bb8fa1230e4 (patch)
treed40de569bcecccad092527d57deff7e3725d80ea /src/mainboard/google/reef
parentb781680d6edb876dbf5ce5a935b7918f590f5fdf (diff)
drivers/vpd: rename VPD_ANY to VPD_RO_THEN_RW
Rename VPD_ANY to VPD_RO_THEN_RW, to reflect the VPD region search preference. Update all existing code references for VPD_ANY. Signed-off-by: Jonathan Zhang <jonzhang@fb.com> Change-Id: I960688d1f6ab199768107ab73b8a7400a3fdf473 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41586 Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/reef')
-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 0dd7529ae3..fc0652cf91 100644
--- a/src/mainboard/google/reef/variants/snappy/mainboard.c
+++ b/src/mainboard/google/reef/variants/snappy/mainboard.c
@@ -46,7 +46,7 @@ uint8_t variant_board_sku(void)
if (!CONFIG(CHROMEOS))
return board_sku_num;
- if (!vpd_gets(vpd_skuid, vpd_buffer, ARRAY_SIZE(vpd_buffer), VPD_ANY))
+ if (!vpd_gets(vpd_skuid, vpd_buffer, ARRAY_SIZE(vpd_buffer), VPD_RO_THEN_RW))
return board_sku_num;
vpd_len = strlen(vpd_buffer);