summaryrefslogtreecommitdiffstats
path: root/fastboot/fastboot.c
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2014-09-15 13:44:07 -0700
committerDaniel Rosenberg <drosen@google.com>2014-09-15 13:44:07 -0700
commit015d73ff4e12e0ae3a5c44ed2f69d24cbe7982d3 (patch)
treeb67847387bc7926a8e428fc6ee8c616fb3343d4c /fastboot/fastboot.c
parent07dda6b57c6a476177b68ad42966f24cbbdb04c1 (diff)
downloadsystem_core-015d73ff4e12e0ae3a5c44ed2f69d24cbe7982d3.zip
system_core-015d73ff4e12e0ae3a5c44ed2f69d24cbe7982d3.tar.gz
system_core-015d73ff4e12e0ae3a5c44ed2f69d24cbe7982d3.tar.bz2
fastboot: Remove tos from flashall
bug: 17498561 Change-Id: I0190c1a5ac635375404799c040e4be523fa29622 Signed-off-by: Daniel Rosenberg <drosen@google.com>
Diffstat (limited to 'fastboot/fastboot.c')
-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"