diff options
Diffstat (limited to 'bmlutils/bmlutils.h')
-rw-r--r-- | bmlutils/bmlutils.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bmlutils/bmlutils.h b/bmlutils/bmlutils.h new file mode 100644 index 000000000..1e85f0825 --- /dev/null +++ b/bmlutils/bmlutils.h @@ -0,0 +1,16 @@ +#ifndef BMLUTILS_H_ +#define BMLUTILS_H_ + +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_ |