ipmi: start implementing flashDataBlock
Change-Id: I780c0e5da77a027ce23a674bd3fdbf08b8a81c14
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/main.cpp b/main.cpp
index a3288ef..9b78f77 100644
--- a/main.cpp
+++ b/main.cpp
@@ -54,6 +54,9 @@
case FlashSubCmds::flashStartTransfer:
return startTransfer(flashUpdateSingleton.get(), reqBuf,
replyCmdBuf, dataLen);
+ case FlashSubCmds::flashDataBlock:
+ return dataBlock(flashUpdateSingleton.get(), reqBuf, replyCmdBuf,
+ dataLen);
default:
return IPMI_CC_INVALID;
}