tools: add bios support
Add type "bios" to burn_my_bmc, such that when used it'll use the
/flash/bios path for writing the bios contents.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I613af23b80eb99936b744d4138a61d2f7b39b962
diff --git a/tools/main.cpp b/tools/main.cpp
index 746e679..a933e67 100644
--- a/tools/main.cpp
+++ b/tools/main.cpp
@@ -44,11 +44,12 @@
#define IPMIBT "ipmibt"
#define STATIC "static"
#define UBITAR "ubitar"
+#define BIOS "bios"
namespace
{
const std::vector<std::string> interfaceList = {IPMIBT, IPMILPC, IPMIPCI};
-const std::vector<std::string> typeList = {STATIC, UBITAR};
+const std::vector<std::string> typeList = {STATIC, UBITAR, BIOS};
} // namespace
void usage(const char* program)