Enable firmware transport mechanisms
build: Allow configuring transport mechanisms
firmware: Support receiving this currently unused information.
Change-Id: If6d83ef5fe00eabd7fd7fc932a579657c0b0a0ab
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/firmware_handler.cpp b/firmware_handler.cpp
index 89c7891..0e26ab2 100644
--- a/firmware_handler.cpp
+++ b/firmware_handler.cpp
@@ -1,5 +1,6 @@
#include "firmware_handler.hpp"
+#include <cstdint>
#include <memory>
#include <string>
#include <vector>
@@ -9,9 +10,9 @@
std::unique_ptr<GenericBlobInterface>
FirmwareBlobHandler::CreateFirmwareBlobHandler(
- const std::vector<std::string>& firmwares)
+ const std::vector<std::string>& firmwares, std::uint32_t transports)
{
- return std::make_unique<FirmwareBlobHandler>(firmwares);
+ return std::make_unique<FirmwareBlobHandler>(firmwares, transports);
}
bool FirmwareBlobHandler::canHandleBlob(const std::string& path)