meta-intel: Add ipmb config

Added configuration file for IPMB channels used for Intel platform

Tested:
It shows the change configuration on intel platform.

(From meta-intel rev: 68d62520d4d3e6cf8c5452de52692f68f9d9ad7e)

Signed-off-by: Chen Yugang <yugang.chen@linux.intel.com>
Change-Id: I017b6dca75f470b09c1761ceea491c665fd3a333
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-intel/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-channels.json b/meta-intel/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-channels.json
new file mode 100644
index 0000000..cf5a283
--- /dev/null
+++ b/meta-intel/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-channels.json
@@ -0,0 +1,16 @@
+{
+  "channels": [
+    {
+      "type": "me",
+      "slave-path": "/dev/ipmb-5",
+      "bmc-addr": 32,
+      "remote-addr": 44
+    },
+    {
+      "type": "ipmb",
+      "slave-path": "/dev/ipmb-13",
+      "bmc-addr": 32,
+      "remote-addr": 56
+    }
+  ]
+}
diff --git a/meta-intel/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend b/meta-intel/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend
new file mode 100644
index 0000000..e8cbbe9
--- /dev/null
+++ b/meta-intel/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend
@@ -0,0 +1,8 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI_append = " file://ipmb-channels.json"
+
+do_install_append(){
+    install -m 0644 -D ${WORKDIR}/ipmb-channels.json \
+                   ${D}/usr/share/ipmbbridge
+}