use ipmiblob library from ipmi-blob-tool
Drop all code that is now handled by the ipmiblob library provided by
the new ipmi-blob-tool. This is a library that can be included on the
BMC if necessary, but relies on nothing that is strictly meant for the
BMC.
Change-Id: Iadbf0bd89c58cafc436fba05ea43e21c49e2b669
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/tools/main.cpp b/tools/main.cpp
index ada34bb..f676f6a 100644
--- a/tools/main.cpp
+++ b/tools/main.cpp
@@ -14,10 +14,8 @@
* limitations under the License.
*/
-#include "blob_handler.hpp"
#include "bt.hpp"
#include "io.hpp"
-#include "ipmi_handler.hpp"
#include "lpc.hpp"
#include "tool_errors.hpp"
#include "updater.hpp"
@@ -28,6 +26,8 @@
#include <algorithm>
#include <cstdio>
#include <iostream>
+#include <ipmiblob/blob_handler.hpp>
+#include <ipmiblob/ipmi_handler.hpp>
#include <iterator>
#include <memory>
#include <string>
@@ -137,8 +137,8 @@
exit(EXIT_FAILURE);
}
- host_tool::IpmiHandler ipmi;
- host_tool::BlobHandler blob(&ipmi);
+ ipmiblob::IpmiHandler ipmi;
+ ipmiblob::BlobHandler blob(&ipmi);
host_tool::DevMemDevice devmem;
std::unique_ptr<host_tool::DataInterface> handler;