diff options
author | Doug Zongker <dougz@android.com> | 2009-06-18 15:07:14 -0700 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2009-06-18 15:07:14 -0700 |
commit | b128f54d0daa749d301b99a6637f42aa35822a76 (patch) | |
tree | 889519250f40824c6df6ea197a8edee75cf95e10 /roots.c | |
parent | f8aaf0a77f72cc5614d9b9135c0d00f8a8160f20 (diff) | |
download | android_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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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])) |