Index: include/lib/vpd.h |
diff --git a/include/lib/vpd.h b/include/lib/vpd.h |
index 7a21a07d2d4e1e5cb7987ee83d26bbab205b820f..1caaf024aae1e4806c11a9d739fd14531d46545e 100644 |
--- a/include/lib/vpd.h |
+++ b/include/lib/vpd.h |
@@ -30,12 +30,25 @@ enum vpd_types { |
VPD_TYPE_BINARY_BLOB_POINTER = 241, |
}; |
-#define GOOGLE_VPD_2_0_EPS_BASE 0x240000 |
-#define GOOGLE_VPD_2_0_OFFSET 0x100 |
+/* The default RO VPD location in BIOS image. |
+ * If VPD partition cannot be found on fmap, buildEpsAndTables() will use |
+ * this value to count the offset fields of SPD and VPD 2.0. |
+ * |
+ * A user can specify -E argument to change the EPS base value. */ |
+#define GOOGLE_EPS_BASE 0x000000 |
+ |
+#define GOOGLE_SPD_OFFSET 0x400 |
+#define GOOGLE_SPD_UUID "75f4926b-9e43-4b32-8979-eb20c0eda76a" |
+#define GOOGLE_SPD_VENDOR "Google" |
+#define GOOGLE_SPD_DESCRIPTION "Google SPD" |
+#define GOOGLE_SPD_VARIANT "" |
+ |
+#define GOOGLE_VPD_2_0_OFFSET 0x600 |
#define GOOGLE_VPD_2_0_UUID "0a7c23d3-8a27-4252-99bf-7868a2e26b61" |
#define GOOGLE_VPD_2_0_VENDOR "Google" |
#define GOOGLE_VPD_2_0_DESCRIPTION "Google VPD 2.0" |
#define GOOGLE_VPD_2_0_VARIANT "" |
+ |
#define CONFIG_EPS_VPD_MAJOR_VERSION 2 |
#define CONFIG_EPS_VPD_MINOR_VERSION 6 |