summaryrefslogtreecommitdiffstats
path: root/bmlutils/bmlutils.h
diff options
context:
space:
mode:
authorConn O'Griofa <connogriofa@gmail.com>2014-03-25 02:26:49 +0100
committerDees Troy <dees_troy@teamw.in>2014-10-07 21:00:29 +0200
commitd9201048c487ff528cd1e73583d5105cfa651aab (patch)
tree18621c3d97738b297c148d8b4f63adcb64ed09a6 /bmlutils/bmlutils.h
parentatime is access time, let's just use mtime (diff)
downloadandroid_bootable_recovery-d9201048c487ff528cd1e73583d5105cfa651aab.tar
android_bootable_recovery-d9201048c487ff528cd1e73583d5105cfa651aab.tar.gz
android_bootable_recovery-d9201048c487ff528cd1e73583d5105cfa651aab.tar.bz2
android_bootable_recovery-d9201048c487ff528cd1e73583d5105cfa651aab.tar.lz
android_bootable_recovery-d9201048c487ff528cd1e73583d5105cfa651aab.tar.xz
android_bootable_recovery-d9201048c487ff528cd1e73583d5105cfa651aab.tar.zst
android_bootable_recovery-d9201048c487ff528cd1e73583d5105cfa651aab.zip
Diffstat (limited to 'bmlutils/bmlutils.h')
-rw-r--r--bmlutils/bmlutils.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/bmlutils/bmlutils.h b/bmlutils/bmlutils.h
index e6ffeee57..1e85f0825 100644
--- a/bmlutils/bmlutils.h
+++ b/bmlutils/bmlutils.h
@@ -3,4 +3,14 @@
int format_rfs_device (const char *device, const char *path);
+#define BML_UNLOCK_ALL 0x8A29 ///< unlock all partition RO -> RW
+
+#ifndef BOARD_BML_BOOT
+#define BOARD_BML_BOOT "/dev/block/bml7"
+#endif
+
+#ifndef BOARD_BML_RECOVERY
+#define BOARD_BML_RECOVERY "/dev/block/bml8"
+#endif
+
#endif // BMLUTILS_H_