witherspoon: Add support for GPU FRUS
-commit #f24faab provides basic infra for FRUs which are accessible
through host but host is not sending the details for those FRUs.
-GPU FRUs are of type mentioned at commit #f24faab.This commit
hardcodes the WITHERSPOON GPU FRU info into YAML.
Change-Id: I783bf77d8e95abf687d2605e2c97a5bb10504c70
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-fru-read-not-sent-by-host-inventory%.bbappend b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-fru-read-not-sent-by-host-inventory%.bbappend
new file mode 100644
index 0000000..72d991c
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-fru-read-not-sent-by-host-inventory%.bbappend
@@ -0,0 +1 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-fru-read-not-sent-by-host-inventory%/fru-config-not-sent-by-host.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-fru-read-not-sent-by-host-inventory%/fru-config-not-sent-by-host.yaml
new file mode 100644
index 0000000..65c02b6
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-fru-read-not-sent-by-host-inventory%/fru-config-not-sent-by-host.yaml
@@ -0,0 +1,29 @@
+20:
+ /system/chassis/motherboard/gv100card0: &DEFAULTS
+ entityInstance: 1
+ entityID: 3
+ interfaces:
+ xyz.openbmc_project.Inventory.Item:
+ PrettyName:
+ IPMIFruProperty: Board Name
+ IPMIFruSection: Board
+21:
+ /system/chassis/motherboard/gv100card1:
+ <<: *DEFAULTS
+ entityInstance: 2
+22:
+ /system/chassis/motherboard/gv100card2:
+ <<: *DEFAULTS
+ entityInstance: 3
+23:
+ /system/chassis/motherboard/gv100card3:
+ <<: *DEFAULTS
+ entityInstance: 4
+24:
+ /system/chassis/motherboard/gv100card4:
+ <<: *DEFAULTS
+ entityInstance: 5
+25:
+ /system/chassis/motherboard/gv100card5:
+ <<: *DEFAULTS
+ entityInstance: 6