Create meta-arm layer

Change-Id: I129cb06d9367d73fa06c81c3827802a62667be71
Signed-off-by: Ken Chen <chen.kenyy@inventec.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-openbmc-machines/meta-arm/conf/layer.conf b/meta-openbmc-machines/meta-arm/conf/layer.conf
new file mode 100644
index 0000000..38f0a0d
--- /dev/null
+++ b/meta-openbmc-machines/meta-arm/conf/layer.conf
@@ -0,0 +1,10 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/common/recipes-*/*/*.bb \
+            ${LAYERDIR}/common/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "arm"
+BBFILE_PATTERN_arm = "^${LAYERDIR}/"
+LAYERVERSION_arm = "1"
diff --git a/meta-openbmc-machines/meta-arm/conf/machine/include/arm.inc b/meta-openbmc-machines/meta-arm/conf/machine/include/arm.inc
new file mode 100644
index 0000000..420f623
--- /dev/null
+++ b/meta-openbmc-machines/meta-arm/conf/machine/include/arm.inc
@@ -0,0 +1,18 @@
+
+VIRTUAL-RUNTIME_skeleton_workbook = "${MACHINE}-config"
+
+PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-bt"
+PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-op-apps"
+PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-op-apps"
+PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-op-apps"
+PREFERRED_PROVIDER_virtual/obmc-host-ctl ?= "obmc-op-control-host"
+PREFERRED_PROVIDER_virtual/obmc-inventory-data ?= \
+    "${VIRTUAL-RUNTIME_skeleton_workbook}"
+PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-hostfw-config ?= \
+    "hostboot-inventory-config-native"
+PREFERRED_PROVIDER_virtual/openpower-fru-vpd-layout ?= \
+    "openpower-fru-vpd-layout-native"
+PREFERRED_PROVIDER_virtual/openpower-fru-inventory ?= \
+    "openpower-fru-inventory-example-native"
+PREFERRED_PROVIDER_virtual/openpower-fru-properties ?= \
+    "openpower-fru-properties-example-native"