summaryrefslogtreecommitdiff
path: root/meta-asrock/conf
diff options
context:
space:
mode:
authorZev Weiss <zev@bewilderbeest.net>2024-04-09 03:39:55 +0300
committerZev Weiss <zev@bewilderbeest.net>2024-04-12 11:07:57 +0300
commit7e4b40fff58206c89a066a181b413299fad4ac22 (patch)
treef1c5bcefee06f299255e9188dff6096acb924be4 /meta-asrock/conf
parent657c6e667bbd28822ba44bc58f29158d685d0f66 (diff)
downloadopenbmc-7e4b40fff58206c89a066a181b413299fad4ac22.tar.xz
meta-asrock: Deduplicate common platform configuration
All existing ASRock platforms use most of the same core packages (entity-manager, dbus-sensors, x86-power-control, phosphor-ipmi-kcs...), so we might as well define it all in one place instead of duplicating it for each machine. Signed-off-by: Zev Weiss <zev@bewilderbeest.net> Change-Id: Ife82b12cf909de6bdd770943adb30327a22438e1
Diffstat (limited to 'meta-asrock/conf')
-rw-r--r--meta-asrock/conf/machine/include/asrock.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-asrock/conf/machine/include/asrock.inc b/meta-asrock/conf/machine/include/asrock.inc
new file mode 100644
index 0000000000..0c49702649
--- /dev/null
+++ b/meta-asrock/conf/machine/include/asrock.inc
@@ -0,0 +1,18 @@
+MACHINE_FEATURES += "\
+ obmc-host-ipmi \
+ "
+
+VIRTUAL-RUNTIME_obmc-inventory-manager = "entity-manager"
+PREFERRED_PROVIDER_virtual/obmc-inventory-data = "entity-manager"
+
+VIRTUAL-RUNTIME_obmc-sensors-hwmon ?= "dbus-sensors"
+
+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-asrock-apps"
+PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-asrock-apps"
+PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-asrock-apps"
+PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-asrock-apps"
+
+PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw ?= "phosphor-ipmi-kcs"