summaryrefslogtreecommitdiff
path: root/src/drivers/vpd
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/drivers/vpd
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/drivers/vpd')
-rw-r--r--src/drivers/vpd/vpd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/vpd/vpd.h b/src/drivers/vpd/vpd.h
index d54cef8df1..df7711af90 100644
--- a/src/drivers/vpd/vpd.h
+++ b/src/drivers/vpd/vpd.h
@@ -8,7 +8,7 @@
#define GOOGLE_VPD_2_0_OFFSET 0x600
enum vpd_region {
- VPD_ANY = 0,
+ VPD_RO_THEN_RW = 0,
VPD_RO = 1,
VPD_RW = 2
};