inspur: fp5280g2: Add fp5280g2 psu fw update function

Add phosphor-psu-software-manager and use inspur specific binary tool
to update fp5280g2's psu firmware.

Signed-off-by: Chicago Duan <duanzhijia01@inspur.com>
Change-Id: Ic54080db5e677d6f91cc28cee0767206fd677219
diff --git a/meta-fp5280g2/recipes-phosphor/power/phosphor-psu-software-manager/psu-update@.service b/meta-fp5280g2/recipes-phosphor/power/phosphor-psu-software-manager/psu-update@.service
new file mode 100644
index 0000000..86d784e
--- /dev/null
+++ b/meta-fp5280g2/recipes-phosphor/power/phosphor-psu-software-manager/psu-update@.service
@@ -0,0 +1,17 @@
+# This service shall be started with two arguments:
+#  * The PSU inventory DBus object
+#  * The path of the PSU images
+# E.g.
+#  "psu-update@-xyz-openbmc_project-inventory-system-chassis-motherboard-powersupply0\x20-tmp-image-abcdefg.service"
+# expands to
+#  /usr/bin/fp5280g2-psu-update /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0 /tmp/image/abcdefg
+
+[Unit]
+Description=Update PSU %I
+
+[Service]
+Type=oneshot
+RemainAfterExit=no
+Environment="ARGS=%I"
+ExecStart=/usr/bin/fp5280g2-psu-update $ARGS
+SyslogIdentifier=fp5280g2-psu-update