summaryrefslogtreecommitdiffstats
path: root/fastboot/util.cpp
diff options
context:
space:
mode:
authorAaron Wisner <awisner@google.com>2018-06-26 15:38:35 -0500
committerAaron Wisner <awisner@google.com>2018-07-19 15:16:47 -0500
commitdb511207ed3b2bb4fc422ef83868009b03692e61 (patch)
tree0a6c212d24658792a630db696be2ccfedb0a2a61 /fastboot/util.cpp
parent1fefb9f1294d3e270f1711f41e7c77a61213742b (diff)
downloadsystem_core-db511207ed3b2bb4fc422ef83868009b03692e61.tar.gz
system_core-db511207ed3b2bb4fc422ef83868009b03692e61.tar.bz2
system_core-db511207ed3b2bb4fc422ef83868009b03692e61.zip
Refactor libfastboot
This change creates a nice and clean API for issuing fastboot commands without using the fastboot tool itself. Test: fastboot tool itself (now using libfastboot2) on sailfish, walleye, and other devices. Test: flash bootloader bootloader.img Test: flash radio radio.img Test: -w update img.zip Test: Manually getvar and reboot commands. Bug: 111126621 Change-Id: I0022536b204ce0c5ad8329367fd522fa3c57877d
Diffstat (limited to 'fastboot/util.cpp')
-rw-r--r--fastboot/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/util.cpp b/fastboot/util.cpp
index 140270fd9..8f6e52afb 100644
--- a/fastboot/util.cpp
+++ b/fastboot/util.cpp
@@ -33,7 +33,7 @@
#include <sys/time.h>
-#include "fastboot.h"
+#include "util.h"
static bool g_verbose = false;