commit | 066a1027a421ee7cdcdc23a7e6fa24e9b256cd1a | [log] [tgz] |
---|---|---|
author | Christopher Lais <chris+android@zenthought.org> | Sun Jan 16 06:02:34 2011 -0600 |
committer | Christopher Lais <chris+android@zenthought.org> | Sun Jan 16 06:29:31 2011 -0600 |
tree | e007e13f39b9174bcc18fb13653debc8051f5c84 | |
parent | a25cf5ec4fb7348843bdfb623b81019db2d48030 [diff] [blame] |
Use raw partition functions for emmc Change-Id: Ia5d9f18d43228a08f12633d432b299def8e26ae1
diff --git a/roots.c b/roots.c index 028fbc4..d4c0033 100644 --- a/roots.c +++ b/roots.c
@@ -248,6 +248,10 @@ 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);