Remove bios configurations from meta-layer & bump

- The intent behind this commit is to enable & set OEM
  specific options to pldm recipe via the meta-ibm layer.
- pldm in its current state, has a configurations folder
  which contains all the configurations that are consumed
  by the daemon at runtime.
- pldm also has an oem folder(s) that can contain the
  vendor specific configuration files.
- So, removing these files from the meta-layer as they are
  obsolete.

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I91d23c37abff45f3da18676269be843610b6a9d1
diff --git a/meta-ibm/recipes-phosphor/pldm/pldm/11.json b/meta-ibm/recipes-phosphor/pldm/pldm/11.json
deleted file mode 100644
index 26fdf5c..0000000
--- a/meta-ibm/recipes-phosphor/pldm/pldm/11.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
-    "entries" : [{
-        "type" : 33,
-        "instance" : 0,
-        "container" : 0,
-        "effecters" : [{
-            "set" : {
-                "id" : 196,
-                "size" : 1,
-                "states" : [1,2]
-            },
-            "dbus" : "/xyz/openbmc_project/state/host0"
-        }]
-    },
-    {
-       "type" : 45,
-       "instance" : 0,
-       "container" : 0,
-       "effecters" : [{
-           "set" : {
-               "id" : 260,
-               "size" : 2,
-               "states" : [9]
-           },
-           "dbus" : "/xyz/openbmc_project/state/chassis0"
-       }]
-    }]
-}
diff --git a/meta-ibm/recipes-phosphor/pldm/pldm/enum_attrs.json b/meta-ibm/recipes-phosphor/pldm/pldm/enum_attrs.json
deleted file mode 100755
index cf20e3e..0000000
--- a/meta-ibm/recipes-phosphor/pldm/pldm/enum_attrs.json
+++ /dev/null
@@ -1,54 +0,0 @@
-{
-   "entries":[
-      {
-         "attribute_name":"pvm-fw-boot-side",
-         "possible_values":[
-            "Perm",
-            "Temp"
-         ],
-         "default_values":[
-            "Perm"
-         ]
-      },
-      {
-         "attribute_name":"pvm-os-boot-side",
-         "possible_values":[
-            "Perm",
-            "Temp"
-         ],
-         "default_values":[
-            "Perm"
-         ]
-      },
-      {
-         "attribute_name":"pvm-inband-code-update",
-         "possible_values":[
-            "Allowed",
-            "Not Allowed"
-         ],
-         "default_values":[
-            "Allowed"
-         ]
-      },
-      {
-         "attribute_name":"pvm-surveillance",
-         "possible_values":[
-            "Disabled",
-            "Enabled"
-         ],
-         "default_values":[
-            "Enabled"
-         ]
-      },
-      {
-         "attribute_name":"pvm-pcie-error-inject",
-         "possible_values":[
-            "Disabled",
-            "Enabled"
-         ],
-         "default_values":[
-            "Enabled"
-         ]
-      }
-   ]
-}
diff --git a/meta-ibm/recipes-phosphor/pldm/pldm/fileTable.json b/meta-ibm/recipes-phosphor/pldm/pldm/fileTable.json
deleted file mode 100755
index 9d9750a..0000000
--- a/meta-ibm/recipes-phosphor/pldm/pldm/fileTable.json
+++ /dev/null
@@ -1,10 +0,0 @@
-[
-   {
-      "path":"/var/lib/pldm/PHYP-NVRAM",
-      "file_traits":1
-   },
-   {
-      "path":"/var/lib/pldm/PHYP-NVRAM-CKSUM",
-      "file_traits":4
-   }
-]
diff --git a/meta-ibm/recipes-phosphor/pldm/pldm/host_eid b/meta-ibm/recipes-phosphor/pldm/pldm/host_eid
deleted file mode 100644
index ec63514..0000000
--- a/meta-ibm/recipes-phosphor/pldm/pldm/host_eid
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/meta-ibm/recipes-phosphor/pldm/pldm_%.bbappend b/meta-ibm/recipes-phosphor/pldm/pldm_%.bbappend
index 1d60420..3280976 100644
--- a/meta-ibm/recipes-phosphor/pldm/pldm_%.bbappend
+++ b/meta-ibm/recipes-phosphor/pldm/pldm_%.bbappend
@@ -1,18 +1,4 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
 PACKAGECONFIG += "oem-ibm"
 PACKAGECONFIG[oem-ibm] = "-Doem-ibm=enabled, -Doem-ibm=disabled, , squashfs-tools"
 
-SRC_URI += "file://fileTable.json"
-SRC_URI += "file://enum_attrs.json"
-SRC_URI += "file://11.json"
-SRC_URI += "file://host_eid"
-
-do_install_append() {
-        install -d ${D}${datadir}/pldm/bios/
-        install -d ${D}${datadir}/pldm/pdr/
-        install -m 0644 ${WORKDIR}/fileTable.json ${D}${datadir}/pldm/
-        install -m 0644 ${WORKDIR}/enum_attrs.json ${D}${datadir}/pldm/bios/
-        install -m 0644 ${WORKDIR}/11.json ${D}${datadir}/pldm/pdr/
-        install -m 0644 ${WORKDIR}/host_eid ${D}${datadir}/pldm/
-}
+SYSTEMD_SERVICE_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'oem-ibm', 'pldm-create-phyp-nvram.service pldm-create-phyp-nvram-cksum.service', '', d)}"
diff --git a/meta-phosphor/recipes-phosphor/pldm/pldm.inc b/meta-phosphor/recipes-phosphor/pldm/pldm.inc
index 3a73f29..ad31863 100644
--- a/meta-phosphor/recipes-phosphor/pldm/pldm.inc
+++ b/meta-phosphor/recipes-phosphor/pldm/pldm.inc
@@ -2,4 +2,4 @@
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
 SRC_URI = "git://github.com/openbmc/pldm"
-SRCREV = "5b5fa4362bdfb38ffb8254f9471f41c224be281a"
+SRCREV = "fec5d59b0081de6d7050265c181221336e2ffcc7"