am 81b857f3: Merge "fastboot: Remove tos from flashall" into lmp-dev
* commit '81b857f3a21f3ae96a5ec72e54982fe30278049f': fastboot: Remove tos from flashall
This commit is contained in:
commit
24e834ab60
1 changed files with 1 additions and 4 deletions
|
|
@ -104,7 +104,6 @@ static struct {
|
||||||
{"recovery.img", "recovery.sig", "recovery", true},
|
{"recovery.img", "recovery.sig", "recovery", true},
|
||||||
{"system.img", "system.sig", "system", false},
|
{"system.img", "system.sig", "system", false},
|
||||||
{"vendor.img", "vendor.sig", "vendor", true},
|
{"vendor.img", "vendor.sig", "vendor", true},
|
||||||
{"tos.img", "tos.sig", "tos", true},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void get_my_path(char *path);
|
void get_my_path(char *path);
|
||||||
|
|
@ -123,8 +122,6 @@ char *find_item(const char *item, const char *product)
|
||||||
fn = "system.img";
|
fn = "system.img";
|
||||||
} else if(!strcmp(item,"vendor")) {
|
} else if(!strcmp(item,"vendor")) {
|
||||||
fn = "vendor.img";
|
fn = "vendor.img";
|
||||||
} else if(!strcmp(item,"tos")) {
|
|
||||||
fn = "tos.img";
|
|
||||||
} else if(!strcmp(item,"userdata")) {
|
} else if(!strcmp(item,"userdata")) {
|
||||||
fn = "userdata.img";
|
fn = "userdata.img";
|
||||||
} else if(!strcmp(item,"cache")) {
|
} else if(!strcmp(item,"cache")) {
|
||||||
|
|
@ -291,7 +288,7 @@ void usage(void)
|
||||||
"commands:\n"
|
"commands:\n"
|
||||||
" update <filename> reflash device from update.zip\n"
|
" update <filename> reflash device from update.zip\n"
|
||||||
" flashall flash boot, system, vendor and if found,\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"
|
" flash <partition> [ <filename> ] write a file to a flash partition\n"
|
||||||
" erase <partition> erase a flash partition\n"
|
" erase <partition> erase a flash partition\n"
|
||||||
" format[:[<fs type>][:[<size>]] <partition> format a flash partition.\n"
|
" format[:[<fs type>][:[<size>]] <partition> format a flash partition.\n"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue