fru: Add location code and VINI record in fru record table
Adding the location code and VINI record data in to the newly
added FRU types.
Tested By:
Verified that required details are getting added in to the FRU
table using GetFruRecordTable command.
Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
Change-Id: I1aa9d332c1046d41508ee48de7a33baed56ad4de
diff --git a/oem/ibm/configurations/fru/PCIeDevice_VINI.json b/oem/ibm/configurations/fru/PCIeDevice_VINI.json
new file mode 100644
index 0000000..d3aa6fa
--- /dev/null
+++ b/oem/ibm/configurations/fru/PCIeDevice_VINI.json
@@ -0,0 +1,164 @@
+{
+ "record_details":
+ {
+ "fru_record_type" : 254,
+ "fru_encoding_type": 1,
+ "dbus_interface_name": "xyz.openbmc_project.Inventory.Item.PCIeDevice"
+ },
+ "fru_fields":[
+ {
+ "fru_field_type" : 2,
+ "dbus":
+ {
+ "interface" : "com.ibm.ipzvpd.VINI",
+ "property_name" : "RT",
+ "property_type" : "bytearray"
+ }
+ },
+ {
+ "fru_field_type" : 3,
+ "dbus":
+ {
+ "interface" : "com.ibm.ipzvpd.VINI",
+ "property_name" : "B3",
+ "property_type" : "bytearray"
+ }
+ },
+ {
+ "fru_field_type" : 4,
+ "dbus":
+ {
+ "interface" : "com.ibm.ipzvpd.VINI",
+ "property_name" : "B4",
+ "property_type" : "bytearray"
+ }
+ },
+ {
+ "fru_field_type" : 5,
+ "dbus":
+ {
+ "interface" : "com.ibm.ipzvpd.VINI",
+ "property_name" : "B7",
+ "property_type" : "bytearray"
+ }
+ },
+ {
+ "fru_field_type" : 6,
+ "dbus":
+ {
+ "interface" : "com.ibm.ipzvpd.VINI",
+ "property_name" : "CC",
+ "property_type" : "bytearray"
+ }
+ },
+ {
+ "fru_field_type" : 7,
+ "dbus":
+ {
+ "interface" : "com.ibm.ipzvpd.VINI",
+ "property_name" : "CE",
+ "property_type" : "bytearray"
+ }
+ },
+ {
+ "fru_field_type" : 8,
+ "dbus":
+ {
+ "interface" : "com.ibm.ipzvpd.VINI",
+ "property_name" : "CT",
+ "property_type" : "bytearray"
+ }
+ },
+ {
+ "fru_field_type" : 9,
+ "dbus":
+ {
+ "interface" : "com.ibm.ipzvpd.VINI",
+ "property_name" : "DR",
+ "property_type" : "bytearray"
+ }
+ },
+ {
+ "fru_field_type" : 10,
+ "dbus":
+ {
+ "interface" : "com.ibm.ipzvpd.VINI",
+ "property_name" : "FG",
+ "property_type" : "bytearray"
+ }
+ },
+ {
+ "fru_field_type" : 11,
+ "dbus":
+ {
+ "interface" : "com.ibm.ipzvpd.VINI",
+ "property_name" : "FN",
+ "property_type" : "bytearray"
+ }
+ },
+ {
+ "fru_field_type" : 12,
+ "dbus":
+ {
+ "interface" : "com.ibm.ipzvpd.VINI",
+ "property_name" : "HE",
+ "property_type" : "bytearray"
+ }
+ },
+ {
+ "fru_field_type" : 13,
+ "dbus":
+ {
+ "interface" : "com.ibm.ipzvpd.VINI",
+ "property_name" : "HW",
+ "property_type" : "bytearray"
+ }
+ },
+ {
+ "fru_field_type" : 14,
+ "dbus":
+ {
+ "interface" : "com.ibm.ipzvpd.VINI",
+ "property_name" : "HX",
+ "property_type" : "bytearray"
+ }
+ },
+ {
+ "fru_field_type" : 15,
+ "dbus":
+ {
+ "interface" : "com.ibm.ipzvpd.VINI",
+ "property_name" : "PN",
+ "property_type" : "bytearray"
+ }
+ },
+ {
+ "fru_field_type" : 16,
+ "dbus":
+ {
+ "interface" : "com.ibm.ipzvpd.VINI",
+ "property_name" : "SN",
+ "property_type" : "bytearray"
+ }
+ },
+ {
+ "fru_field_type" : 17,
+ "dbus":
+ {
+ "interface" : "com.ibm.ipzvpd.VINI",
+ "property_name" : "TS",
+ "property_type" : "bytearray"
+ }
+ },
+ {
+ "fru_field_type" : 18,
+ "dbus":
+ {
+ "interface" : "com.ibm.ipzvpd.VINI",
+ "property_name" : "VZ",
+ "property_type" : "bytearray"
+ }
+ }
+ ]
+}
+