commit | 19447c05506e4dfd19f621081770fe03e29d0457 | [log] [tgz] |
---|---|---|
author | Koushik Dutta <koushd@gmail.com> | Wed Nov 10 10:40:44 2010 -0800 |
committer | Koushik Dutta <koushd@gmail.com> | Wed Nov 10 23:31:34 2010 -0800 |
tree | 301e637311e817165d030878adb102f32b28ab14 | |
parent | fef77c02533ee2e62c6827af5ba3cfcc2bd0e749 [diff] [blame] |
Refactor recovery's block device handling to work across variant hardware in a cleaner fashion. Re add firmware update Change-Id: I699ad22390ed14e597d17a7bcb32ad1b1af00b4b support mmc misc Change-Id: Iff02f8d03db6835f501d052140cebeefee521305 fix compile errors Change-Id: I032edbd157a8a15f561bb83330c715ebaa008d18 fix compile errors Change-Id: Idff3449be3376f22fceefc2c35637527f8df8f3f Initial work to clean up the block devices. Change-Id: I4be20ac124864a281be9cd116e211a2618404a27 all done Change-Id: I0338f62f6a045556ebe90b0200685be113178319 fix up nandroid Change-Id: I886f00271183e6d2921c080b0939341f2cf12a4d
diff --git a/flashutils/flashutils.h b/flashutils/flashutils.h new file mode 100644 index 0000000..f4466f0 --- /dev/null +++ b/flashutils/flashutils.h
@@ -0,0 +1,6 @@ +int restore_raw_partition(const char *partition, const char *filename); +int backup_raw_partition(const char *partition, const char *filename); +int erase_raw_partition(const char *partition); +int erase_partition(const char *partition, const char *filesystem); +int mount_partition(const char *partition, const char *mount_point, const char *filesystem, int read_only); +int get_partition_device(const char *partition, char *device); \ No newline at end of file