diff options
author | JP Abgrall <jpa@google.com> | 2014-05-06 15:14:15 -0700 |
---|---|---|
committer | JP Abgrall <jpa@google.com> | 2014-05-06 15:14:15 -0700 |
commit | 7e85974fc2fc48a0cea7bb9bafcfcda863138eb6 (patch) | |
tree | 3dc283692f6bd235af8d4884a8c86431f286e300 /fastboot/fastboot.h | |
parent | 2d2fd4cdeac031e78a63c40d01a96a93ebb3eed8 (diff) | |
download | system_core-7e85974fc2fc48a0cea7bb9bafcfcda863138eb6.zip system_core-7e85974fc2fc48a0cea7bb9bafcfcda863138eb6.tar.gz system_core-7e85974fc2fc48a0cea7bb9bafcfcda863138eb6.tar.bz2 |
fastboot: support for overriding format fs-type and size
This changes allows overriding the fs-type and size that
are normally returned by the booloader.
This is in preparation for supporting other FSes.
Change-Id: I8d141a0d4d14df9fe84d3b131484e9696fcd8870
Signed-off-by: JP Abgrall <jpa@google.com>
Diffstat (limited to 'fastboot/fastboot.h')
-rw-r--r-- | fastboot/fastboot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/fastboot.h b/fastboot/fastboot.h index c510a36..fc5d4f4 100644 --- a/fastboot/fastboot.h +++ b/fastboot/fastboot.h @@ -45,7 +45,7 @@ char *fb_get_error(void); /* engine.c - high level command queue engine */ int fb_getvar(struct usb_handle *usb, char *response, const char *fmt, ...); -int fb_format_supported(usb_handle *usb, const char *partition); +int fb_format_supported(usb_handle *usb, const char *partition, const char *type_override); void fb_queue_flash(const char *ptn, void *data, unsigned sz); void fb_queue_flash_sparse(const char *ptn, struct sparse_file *s, unsigned sz); void fb_queue_erase(const char *ptn); |