diff options
author | Christopher Lais <chris+android@zenthought.org> | 2011-01-16 06:02:34 -0600 |
---|---|---|
committer | Christopher Lais <chris+android@zenthought.org> | 2011-01-16 06:29:31 -0600 |
commit | 066a1027a421ee7cdcdc23a7e6fa24e9b256cd1a (patch) | |
tree | e007e13f39b9174bcc18fb13653debc8051f5c84 /roots.c | |
parent | a25cf5ec4fb7348843bdfb623b81019db2d48030 (diff) | |
download | android_bootable_recovery-066a1027a421ee7cdcdc23a7e6fa24e9b256cd1a.tar.gz android_bootable_recovery-066a1027a421ee7cdcdc23a7e6fa24e9b256cd1a.tar.bz2 android_bootable_recovery-066a1027a421ee7cdcdc23a7e6fa24e9b256cd1a.zip |
Use raw partition functions for emmc
Change-Id: Ia5d9f18d43228a08f12633d432b299def8e26ae1
Diffstat (limited to 'roots.c')
-rw-r--r-- | roots.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -248,6 +248,10 @@ int format_volume(const char* volume) { return 0; } + if (strcmp(v->fs_type, "emmc") == 0) { + return erase_raw_partition(v->device); + } + if (strcmp(v->fs_type, "ext4") == 0) { reset_ext4fs_info(); int result = make_ext4fs(v->device, NULL, NULL, 0, 0, 0); |