summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2014-09-16 21:34:45 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-09-16 21:34:45 +0000
commit24e834ab6037cee0d3e8569d5fd45695f86865bd (patch)
tree8177c6053079fd2e32b59112ba3a1128d1db82b6
parent6565e61226a3cefe59c4cb417490c8b6c2309ab0 (diff)
parent81b857f3a21f3ae96a5ec72e54982fe30278049f (diff)
downloadsystem_core-24e834ab6037cee0d3e8569d5fd45695f86865bd.zip
system_core-24e834ab6037cee0d3e8569d5fd45695f86865bd.tar.gz
system_core-24e834ab6037cee0d3e8569d5fd45695f86865bd.tar.bz2
am 81b857f3: Merge "fastboot: Remove tos from flashall" into lmp-dev
* commit '81b857f3a21f3ae96a5ec72e54982fe30278049f': fastboot: Remove tos from flashall
-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"