summaryrefslogtreecommitdiff
path: root/fastboot/fastboot_driver.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2018-08-29 14:49:34 -0700
committerTom Cherry <tomcherry@google.com>2018-08-29 15:29:20 -0700
commite51dadb8a78a5b50c7344eac376ee2e85c7ef0e3 (patch)
tree46057591fca12c4e812eada72049954f46fd373a /fastboot/fastboot_driver.cpp
parent566751444d8ef8240db63b139357e5fd18e3c7bf (diff)
fastboot: remove 'verify'
This isn't sent by the fastboot client. This isn't in our bootloader requirement document. Neither my hikey nor sailfish respond to this. Test: fastboot still works Change-Id: I11ff0aed818d98f3427ed427605d99b3c76ccb06
Diffstat (limited to 'fastboot/fastboot_driver.cpp')
-rw-r--r--fastboot/fastboot_driver.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/fastboot/fastboot_driver.cpp b/fastboot/fastboot_driver.cpp
index 62306add8..ceee066c9 100644
--- a/fastboot/fastboot_driver.cpp
+++ b/fastboot/fastboot_driver.cpp
@@ -103,11 +103,6 @@ RetCode FastBootDriver::SetActive(const std::string& part, std::string* response
return RawCommand(Commands::SET_ACTIVE + part, response, info);
}
-RetCode FastBootDriver::Verify(uint32_t num, std::string* response, std::vector<std::string>* info) {
- std::string cmd = android::base::StringPrintf("%s%08" PRIx32, Commands::VERIFY.c_str(), num);
- return RawCommand(cmd, response, info);
-}
-
RetCode FastBootDriver::FlashPartition(const std::string& part, const std::vector<char>& data) {
RetCode ret;
if ((ret = Download(data))) {
@@ -435,7 +430,6 @@ const std::string FastBootDriver::Commands::GET_VAR = "getvar:";
const std::string FastBootDriver::Commands::REBOOT = "reboot";
const std::string FastBootDriver::Commands::SET_ACTIVE = "set_active:";
const std::string FastBootDriver::Commands::UPLOAD = "upload";
-const std::string FastBootDriver::Commands::VERIFY = "verify:";
/******************************* PRIVATE **************************************/
RetCode FastBootDriver::SendBuffer(int fd, size_t size) {