summaryrefslogtreecommitdiffstats
path: root/fastboot/fastboot.h
diff options
context:
space:
mode:
authorMike J. Chen <mjchen@google.com>2012-02-04 16:22:22 -0800
committerMike J. Chen <mjchen@google.com>2012-02-16 09:32:42 -0800
commit714052ba4d86a2d411a3944f5034c5a5833ffbb6 (patch)
tree67ac87cfe08897168711f51b8aca7b192f4f3cf2 /fastboot/fastboot.h
parent65cf84f3ff959eec0c97229489d58279feaf3bcb (diff)
downloadsystem_core-714052ba4d86a2d411a3944f5034c5a5833ffbb6.zip
system_core-714052ba4d86a2d411a3944f5034c5a5833ffbb6.tar.gz
system_core-714052ba4d86a2d411a3944f5034c5a5833ffbb6.tar.bz2
DO NOT MERGE
fastboot: Change -w to format after the erase of userdata & cache If the bootloader doesn't support formatting of those partitions (either because it doesn't support the getvar commands needed or the partition type is not supported), the errors are printed but doesn't halt processing of subsequent commands. Change-Id: I816ac2e5e7593846fcb4fd39c793a8dbdd996f6f Signed-off-by: Mike J. Chen <mjchen@google.com>
Diffstat (limited to 'fastboot/fastboot.h')
-rw-r--r--fastboot/fastboot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/fastboot.h b/fastboot/fastboot.h
index c2f97a2..b77cb19 100644
--- a/fastboot/fastboot.h
+++ b/fastboot/fastboot.h
@@ -43,7 +43,7 @@ char *fb_get_error(void);
/* engine.c - high level command queue engine */
void fb_queue_flash(const char *ptn, void *data, unsigned sz);;
void fb_queue_erase(const char *ptn);
-void fb_queue_format(const char *ptn);
+void fb_queue_format(const char *ptn, int skip_if_not_supported);
void fb_queue_require(const char *prod, const char *var, int invert,
unsigned nvalues, const char **value);
void fb_queue_display(const char *var, const char *prettyname);