summaryrefslogtreecommitdiffstats
path: root/bmlutils/bmlutils.h
diff options
context:
space:
mode:
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_