summaryrefslogtreecommitdiffstats
path: root/images.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'images.hpp')
-rw-r--r--images.hpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/images.hpp b/images.hpp
new file mode 100644
index 0000000..c82725f
--- /dev/null
+++ b/images.hpp
@@ -0,0 +1,23 @@
+#include <string>
+#include <vector>
+
+#include "config.h"
+
+namespace phosphor
+{
+namespace software
+{
+namespace image
+{
+
+// BMC flash image file name list.
+#ifdef UBIFS_LAYOUT
+const std::vector<std::string> bmcImages = {"image-kernel", "image-rofs",
+ "image-rwfs", "image-u-boot"};
+#else
+const std::vector<std::string> bmcImages = {"image-bmc"};
+#endif
+
+} // namespace image
+} // namespace software
+} // namespace phosphor
OpenPOWER on IntegriCloud