summaryrefslogtreecommitdiffstats
path: root/fastboot
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2014-09-17 14:12:09 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-09-17 14:12:09 +0000
commitaa3ed7844a60b08fda8dc6ad371b60612347eeb4 (patch)
tree8177c6053079fd2e32b59112ba3a1128d1db82b6 /fastboot
parent757adc21c373f565827d7d8168051319c830d701 (diff)
parent81b857f3a21f3ae96a5ec72e54982fe30278049f (diff)
downloadsystem_core-aa3ed7844a60b08fda8dc6ad371b60612347eeb4.zip
system_core-aa3ed7844a60b08fda8dc6ad371b60612347eeb4.tar.gz
system_core-aa3ed7844a60b08fda8dc6ad371b60612347eeb4.tar.bz2
am 81b857f3: Merge "fastboot: Remove tos from flashall" into lmp-dev
* commit '81b857f3a21f3ae96a5ec72e54982fe30278049f': fastboot: Remove tos from flashall
Diffstat (limited to 'fastboot')
-rw-r--r--fastboot/fastboot.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/fastboot/fastboot.c b/fastboot/fastboot.c
index 03b3177..43d05aa 100644
--- a/fastboot/fastboot.c
+++ b/fastboot/fastboot.c
@@ -104,7 +104,6 @@ static struct {
{"recovery.img", "recovery.sig", "recovery", true},
{"system.img", "system.sig", "system", false},
{"vendor.img", "vendor.sig", "vendor", true},
- {"tos.img", "tos.sig", "tos", true},
};
void get_my_path(char *path);
@@ -123,8 +122,6 @@ char *find_item(const char *item, const char *product)
fn = "system.img";
} else if(!strcmp(item,"vendor")) {
fn = "vendor.img";
- } else if(!strcmp(item,"tos")) {
- fn = "tos.img";
} else if(!strcmp(item,"userdata")) {
fn = "userdata.img";
} else if(!strcmp(item,"cache")) {
@@ -291,7 +288,7 @@ void usage(void)
"commands:\n"
" update <filename> reflash device from update.zip\n"
" flashall flash boot, system, vendor and if found,\n"
- " recovery, tos\n"
+ " recovery\n"
" flash <partition> [ <filename> ] write a file to a flash partition\n"
" erase <partition> erase a flash partition\n"
" format[:[<fs type>][:[<size>]] <partition> format a flash partition.\n"