firmware: add write method
The write() method is how the different firmware handlers will receive
data from the update process.
Change-Id: I550a25f69272bae917309956fef798bc3d4eed2e
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/static_handler.cpp b/static_handler.cpp
index 1d7e8e9..8cb20e0 100644
--- a/static_handler.cpp
+++ b/static_handler.cpp
@@ -1,7 +1,9 @@
#include "static_handler.hpp"
+#include <cstdint>
#include <memory>
#include <string>
+#include <vector>
namespace blobs
{
@@ -12,4 +14,10 @@
return false;
}
+bool StaticLayoutHandler::write(std::uint32_t offset,
+ const std::vector<std::uint8_t>& data)
+{
+ return false;
+}
+
} // namespace blobs