meta-ibm:implement phosphor-power for Mihawk platform
Implement power-sequencer of phosphor-power for mihawk.
(From meta-ibm rev: 65dbe8b7c2ed9507ea5842e6e91b637a9069b947)
Change-Id: I00ee20fbcfcd6dc34724c2f7caf50cf7ae94d124
Signed-off-by: Andy YF Wang <Andy_YF_Wang@wistron.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-ibm/recipes-phosphor/power/phosphor-power_%.bbappend b/meta-ibm/recipes-phosphor/power/phosphor-power_%.bbappend
index 5cc839a..3c652ce 100644
--- a/meta-ibm/recipes-phosphor/power/phosphor-power_%.bbappend
+++ b/meta-ibm/recipes-phosphor/power/phosphor-power_%.bbappend
@@ -6,8 +6,10 @@
EXTRA_OEMESON_append_ibm-ac-server = " -Ducd90160-yaml=${STAGING_DIR_HOST}${datadir}/power-sequencer/ucd90160.yaml"
EXTRA_OEMESON_append_rainier = " -Ducd90160-yaml=${STAGING_DIR_HOST}${datadir}/power-sequencer/ucd90160.yaml -Dibm-vpd=true"
+EXTRA_OEMESON_append_mihawk = " -Dpower_sequencer=mihawk-cpld"
-DEPENDS += " power-sequencer"
+DEPENDS_append_ibm-ac-server = " power-sequencer"
+DEPENDS_append_rainier = " power-sequencer"
do_install_append(){
install -D ${WORKDIR}/psu.json ${D}${datadir}/phosphor-power/psu.json