meta-amd: prep for amd meta layer refactoring
Code refactoring to support CRB's bring-up.
Configuration files "nohost" and "withhost" variants
introduced to support various stages of bring-up in
AMD CRBs.
Change-Id: Id52ac68edf365e6623bd71992fdd6d9fc8a3adf5
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/meta-amd/conf/machine/include/amd-withhost.inc b/meta-amd/conf/machine/include/amd-withhost.inc
new file mode 100644
index 0000000..366e24a
--- /dev/null
+++ b/meta-amd/conf/machine/include/amd-withhost.inc
@@ -0,0 +1,16 @@
+MACHINEOVERRIDES =. "amd-withhost:"
+
+require conf/machine/include/amd.inc
+
+MACHINE_FEATURES:append = "\
+ obmc-chassis-state-mgmt \
+ obmc-host-state-mgmt \
+ obmc-phosphor-chassis-mgmt \
+ obmc-host-ipmi \
+ "
+
+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-amd-apps"
+PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw ?= "phosphor-ipmi-kcs"