summaryrefslogtreecommitdiffstats
path: root/static/flash.cpp
diff options
context:
space:
mode:
authorLei YU <mine260309@gmail.com>2018-06-20 11:48:36 +0800
committerLei YU <mine260309@gmail.com>2018-07-17 01:45:16 +0000
commit1be8d500a8e90f9299bab9abf532ff0762177175 (patch)
treeee973c20cda5d6fa2abd5cea02fbe90a9e768ba7 /static/flash.cpp
parent90532250297fbb021c7601cafe9a6e4c661e93ef (diff)
downloadphosphor-bmc-code-mgmt-1be8d500a8e90f9299bab9abf532ff0762177175.tar.gz
phosphor-bmc-code-mgmt-1be8d500a8e90f9299bab9abf532ff0762177175.zip
Refactor of bmcImages
bmcImages were in image_verify.hpp but it is used not only in image verification, but elsewhere. Move it into a more generic header file, images.hpp, so it makes more clear that users of bmcImages include images.hpp instead of image_verify.hpp Tested: Verify the code pass the build. Change-Id: If9adf315eee9047d9d08ab93ed7c0ff3c97f7a1e Signed-off-by: Lei YU <mine260309@gmail.com>
Diffstat (limited to 'static/flash.cpp')
-rw-r--r--static/flash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/flash.cpp b/static/flash.cpp
index 59c7a67..3ca7bfc 100644
--- a/static/flash.cpp
+++ b/static/flash.cpp
@@ -3,7 +3,7 @@
#include "activation.hpp"
#include "config.h"
#include "flash.hpp"
-#include "image_verify.hpp" // For bmcImages
+#include "images.hpp"
namespace
{
OpenPOWER on IntegriCloud