aboutsummaryrefslogtreecommitdiffstats
path: root/roots.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-06-18 15:07:14 -0700
committerDoug Zongker <dougz@android.com>2009-06-18 15:07:14 -0700
commitb128f54d0daa749d301b99a6637f42aa35822a76 (patch)
tree889519250f40824c6df6ea197a8edee75cf95e10 /roots.c
parentf8aaf0a77f72cc5614d9b9135c0d00f8a8160f20 (diff)
downloadandroid_bootable_recovery-b128f54d0daa749d301b99a6637f42aa35822a76.tar.gz
android_bootable_recovery-b128f54d0daa749d301b99a6637f42aa35822a76.tar.bz2
android_bootable_recovery-b128f54d0daa749d301b99a6637f42aa35822a76.zip
add function for device-specific wipe data features
Some devices want to do special things when recovery wipes data (eg, wipe data in their baseband processor as well). Add a hook in the device-specific recovery library that gets called when data is wiped. Also add an amend root for the "mbm" partition.
Diffstat (limited to 'roots.c')
-rw-r--r--roots.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/roots.c b/roots.c
index 6a6cf8ad..8f8daceb 100644
--- a/roots.c
+++ b/roots.c
@@ -52,6 +52,7 @@ static RootInfo g_roots[] = {
{ "RECOVERY:", g_mtd_device, NULL, "recovery", "/", g_raw },
{ "SDCARD:", "/dev/block/mmcblk0p1", "/dev/block/mmcblk0", NULL, "/sdcard", "vfat" },
{ "SYSTEM:", g_mtd_device, NULL, "system", "/system", "yaffs2" },
+ { "MBM:", g_mtd_device, NULL, "mbm", NULL, g_raw },
{ "TMP:", NULL, NULL, NULL, "/tmp", NULL },
};
#define NUM_ROOTS (sizeof(g_roots) / sizeof(g_roots[0]))