meta-lenovo: hr855xg2: add IPMI configurations
1. Add some autoconfigure parameters for phosphor-ipmi-flash.
2. Add some sensor and FRU definitions for ipmi.
3. Add IPMI device id configuration.
Tested:
This has been tested on hr855xg2 machine via ipmitool from host.
Signed-off-by: Lisa Liu <liuyj19@lenovo.com>
Change-Id: Iefe2dac7a995223d504761a5b131cdc63eb10fa1
diff --git a/meta-hr855xg2/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend b/meta-hr855xg2/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend
new file mode 100644
index 0000000..fcc0afb
--- /dev/null
+++ b/meta-hr855xg2/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend
@@ -0,0 +1,9 @@
+#"Copyright (c) 2019-present Lenovo
+#Licensed under BSD-3, see COPYING.BSD file for details."
+
+DEPENDS_append_hr855xg2 = " hr855xg2-yaml-config"
+
+EXTRA_OECONF_append_hr855xg2 = " \
+ YAML_GEN=${STAGING_DIR_HOST}${datadir}/hr855xg2-yaml-config/ipmi-fru-read.yaml \
+ PROP_YAML=${STAGING_DIR_HOST}${datadir}/hr855xg2-yaml-config/ipmi-extra-properties.yaml \
+ "