tyan, s7106: Initial commit for TYAN S7106
The TYAN S7106 is a server mainboard with an Aspeed AST2500 BMC.
Signed-off-by: Oskar Senft <osk@google.com>
Change-Id: I75e4938bbc7d25bd8e949a4bae5761205aa0ff22
diff --git a/meta-tyan/conf/layer.conf b/meta-tyan/conf/layer.conf
new file mode 100644
index 0000000..e0bd4ca
--- /dev/null
+++ b/meta-tyan/conf/layer.conf
@@ -0,0 +1,11 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/meta-common/recipes-*/*/*.bb \
+ ${LAYERDIR}/meta-common/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "tyan-layer"
+BBFILE_PATTERN_tyan-layer = "^${LAYERDIR}/"
+LAYERSERIES_COMPAT_tyan-layer = "hardknott honister"
+
diff --git a/meta-tyan/conf/machine/include/tyan.inc b/meta-tyan/conf/machine/include/tyan.inc
new file mode 100644
index 0000000..3180704
--- /dev/null
+++ b/meta-tyan/conf/machine/include/tyan.inc
@@ -0,0 +1,20 @@
+MACHINE_FEATURES += "\
+ obmc-bmc-state-mgmt \
+ obmc-chassis-state-mgmt \
+ obmc-host-ipmi \
+ obmc-host-state-mgmt \
+ obmc-phosphor-chassis-mgmt \
+ obmc-phosphor-fan-mgmt \
+ obmc-phosphor-flash-mgmt \
+ "
+
+VIRTUAL-RUNTIME_obmc-inventory-manager = "entity-manager"
+PREFERRED_PROVIDER_virtual/obmc-inventory-data = "entity-manager"
+
+VIRTUAL-RUNTIME_obmc-host-state-manager ?= "x86-power-control"
+VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "x86-power-control"
+
+PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-tyan-apps"
+PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-tyan-apps"
+PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw ?= "phosphor-ipmi-kcs"
+PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-tyan-apps"