power-utils: Initially add --update option

This option is used to update the PSU firmware, usage:

 psutils --update <psu-inventory-path> <image-dir>

Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: I3958e360f04bb0ace9eea41d9f81e4533432701c
diff --git a/tools/power-utils/updater.cpp b/tools/power-utils/updater.cpp
new file mode 100644
index 0000000..6b9468c
--- /dev/null
+++ b/tools/power-utils/updater.cpp
@@ -0,0 +1,31 @@
+/**
+ * Copyright © 2019 IBM Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#include "config.h"
+
+#include "updater.hpp"
+
+namespace updater
+{
+
+bool update(const std::string& psuInventoryPath, const std::string& imageDir)
+{
+    // TODO
+    fprintf(stderr, "psu: %s, image: %s\n", psuInventoryPath.c_str(),
+            imageDir.c_str());
+    return true;
+}
+
+} // namespace updater