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/Fan_LocationCode.json b/oem/ibm/configurations/fru/Fan_LocationCode.json
new file mode 100644
index 0000000..e3ae750
--- /dev/null
+++ b/oem/ibm/configurations/fru/Fan_LocationCode.json
@@ -0,0 +1,19 @@
+{
+ "record_details":
+ {
+ "fru_record_type" : 254,
+ "fru_encoding_type": 1,
+ "dbus_interface_name": "xyz.openbmc_project.Inventory.Item.Fan"
+ },
+ "fru_fields":[
+ {
+ "fru_field_type" : 254,
+ "dbus":
+ {
+ "interface" : "xyz.openbmc_project.Inventory.Decorator.LocationCode",
+ "property_name" : "LocationCode",
+ "property_type" : "string"
+ }
+ }
+ ]
+}