ipmi: start implementing flashAbort
Change-Id: I1a05ba7e9323046a09b8582351be987cdaab5a15
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/flash-ipmi.hpp b/flash-ipmi.hpp
index 561d6c8..5e5fb22 100644
--- a/flash-ipmi.hpp
+++ b/flash-ipmi.hpp
@@ -136,6 +136,13 @@
* @return true if it was started succesfully.
*/
virtual bool startDataVerification() = 0;
+
+ /**
+ * Attempt to abort everything.
+ *
+ * @return true if aborted, false if unable or failed.
+ */
+ virtual bool abortUpdate() = 0;
};
class FlashUpdate : public UpdateInterface
@@ -157,6 +164,7 @@
bool hashFinish() override;
bool startDataVerification() override;
+ bool abortUpdate() override;
private:
/**