data handler: add open method
Add open method to data handler object. The exact purpose of this
method will vary by transport mechanism.
Change-Id: I3d1fa3914e010ac7590455ae3f948a1d9d5cee4b
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/lpc_handler.cpp b/lpc_handler.cpp
index 94bc73d..a723461 100644
--- a/lpc_handler.cpp
+++ b/lpc_handler.cpp
@@ -7,6 +7,14 @@
namespace blobs
{
+bool LpcDataHandler::open()
+{
+ /* For the ASPEED LPC CTRL driver, the ioctl is required to set up the
+ * window, with information from write() below.
+ */
+ return true;
+}
+
std::vector<std::uint8_t> LpcDataHandler::copyFrom(std::uint32_t length)
{
/* TODO: implement this. */