summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines
diff options
context:
space:
mode:
authorLei YU <mine260309@gmail.com>2018-08-02 14:29:06 +0800
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-08-21 19:38:37 +0000
commit7a0b8a16b2ba10998d551cf80f7cd10b38b9179b (patch)
tree8d06f0deba250764cde4fb214bafd47807acaa8e /meta-openbmc-machines
parentef18a48d23e7fcaef501166b0766680519846272 (diff)
downloadtalos-openbmc-7a0b8a16b2ba10998d551cf80f7cd10b38b9179b.tar.gz
talos-openbmc-7a0b8a16b2ba10998d551cf80f7cd10b38b9179b.zip
meta-romulus: Add ipmi channel.yaml
In phosphor-ipmi-host, channel.yaml sets the info about number of available Ethernet channels. Romulus has eth0 only. Tested: Verify the generated channel-gen.cpp reflects this yaml config. Change-Id: I902f6b0adb6066ad2c4f1654a4614bbf012e36a5 Signed-off-by: Lei YU <mine260309@gmail.com>
Diffstat (limited to 'meta-openbmc-machines')
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend8
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host/channel.yaml4
2 files changed, 12 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend
new file mode 100644
index 000000000..d3f84319e
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend
@@ -0,0 +1,8 @@
+FILESEXTRAPATHS_append_romulus := ":${THISDIR}/${PN}"
+SRC_URI_append_romulus = " \
+ file://channel.yaml \
+ "
+
+EXTRA_OECONF_append_romulus = " \
+ CHANNEL_YAML_GEN=${WORKDIR}/channel.yaml \
+ "
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host/channel.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host/channel.yaml
new file mode 100644
index 000000000..627f4965f
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-host/channel.yaml
@@ -0,0 +1,4 @@
+# Channel Number (must be unique) is the key
+1:
+ # ifName the ethernet device name (used in the dbus path)
+ ifName: eth0
OpenPOWER on IntegriCloud