summaryrefslogtreecommitdiffstats
path: root/fastboot
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2014-09-16 20:08:00 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-09-16 20:08:01 +0000
commit81b857f3a21f3ae96a5ec72e54982fe30278049f (patch)
tree92b4e0474b5b3d0d50737db3f7b87a9f74fcb405 /fastboot
parenta5ab96eb50f27989240ab8917e8ebf3a028bcdfb (diff)
parent015d73ff4e12e0ae3a5c44ed2f69d24cbe7982d3 (diff)
downloadsystem_core-81b857f3a21f3ae96a5ec72e54982fe30278049f.zip
system_core-81b857f3a21f3ae96a5ec72e54982fe30278049f.tar.gz
system_core-81b857f3a21f3ae96a5ec72e54982fe30278049f.tar.bz2
Merge "fastboot: Remove tos from flashall" into lmp-dev
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"