ipmi: start implementing flashVerifyCheck
Change-Id: I811693d9e736d273d2df9e65f7c5de7efd1d884c
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/main.cpp b/main.cpp
index 791cb22..5385348 100644
--- a/main.cpp
+++ b/main.cpp
@@ -25,6 +25,7 @@
static constexpr auto stagingPath = STAGING_PATH;
static constexpr auto hashPath = HASH_PATH;
+static constexpr auto statusPath = STATUS_PATH;
/* TODO: Once OEM IPMI number placement is settled, point to that. */
namespace oem
@@ -85,7 +86,8 @@
void setupGlobalOemFlashControl()
{
- flashUpdateSingleton = std::make_unique<FlashUpdate>(stagingPath, hashPath);
+ flashUpdateSingleton =
+ std::make_unique<FlashUpdate>(stagingPath, statusPath, hashPath);
#ifdef ENABLE_GOOGLE
oem::Router* router = oem::mutableRouter();