diff options
author | Tom Cherry <tomcherry@google.com> | 2018-08-29 14:07:35 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2018-08-29 14:10:47 -0700 |
commit | 566751444d8ef8240db63b139357e5fd18e3c7bf (patch) | |
tree | 079cecebf3fafcbe1ced5b40cfd145eada42748c /fastboot/fastboot_driver.cpp | |
parent | 7b02605bf23b22d15d0f46b3f8a631cc5dc588ad (diff) |
fastboot: remove 'powerdown'
This isn't sent by the fastboot client.
This isn't in our bootloader requirement document.
Neither my hikey nor sailfish respond to this.
The README.md literally uses this as an example for 'unknown command'
Test: fastboot still works.
Change-Id: Ia442a41de517dae078dd7e73c951aadb97646c73
Diffstat (limited to 'fastboot/fastboot_driver.cpp')
-rw-r--r-- | fastboot/fastboot_driver.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fastboot/fastboot_driver.cpp b/fastboot/fastboot_driver.cpp index e8587c7be..62306add8 100644 --- a/fastboot/fastboot_driver.cpp +++ b/fastboot/fastboot_driver.cpp @@ -89,10 +89,6 @@ RetCode FastBootDriver::GetVarAll(std::vector<std::string>* response) { return GetVar("all", &tmp, response); } -RetCode FastBootDriver::Powerdown(std::string* response, std::vector<std::string>* info) { - return RawCommand(Commands::POWERDOWN, response, info); -} - RetCode FastBootDriver::Reboot(std::string* response, std::vector<std::string>* info) { return RawCommand(Commands::REBOOT, response, info); } @@ -436,7 +432,6 @@ const std::string FastBootDriver::Commands::DOWNLOAD = "download:"; const std::string FastBootDriver::Commands::ERASE = "erase:"; const std::string FastBootDriver::Commands::FLASH = "flash:"; const std::string FastBootDriver::Commands::GET_VAR = "getvar:"; -const std::string FastBootDriver::Commands::POWERDOWN = "powerdown"; const std::string FastBootDriver::Commands::REBOOT = "reboot"; const std::string FastBootDriver::Commands::SET_ACTIVE = "set_active:"; const std::string FastBootDriver::Commands::UPLOAD = "upload"; |