From d9201048c487ff528cd1e73583d5105cfa651aab Mon Sep 17 00:00:00 2001 From: Conn O'Griofa Date: Tue, 25 Mar 2014 01:26:49 +0000 Subject: applypatch: add support for BML partitions This actually uses the EMMC partition access code. In order for this to work, the BML partition name is changed back to the block device name (e.g. "boot" -> "/dev/block/bml9"), and the BML_UNLOCK_ALL ioctl is called before writing. Change-Id: I012f1eca0b486b7465ca38b5db1f513ee8a246ea --- bmlutils/bmlutils.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'bmlutils/bmlutils.c') diff --git a/bmlutils/bmlutils.c b/bmlutils/bmlutils.c index 54b67f513..d59475eba 100644 --- a/bmlutils/bmlutils.c +++ b/bmlutils/bmlutils.c @@ -20,15 +20,7 @@ #include #include -#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 +#include #undef _PATH_BSHELL #define _PATH_BSHELL "/sbin/sh" -- cgit v1.2.3