summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorfaqiang.zhu <faqiang.zhu@nxp.com>2018-11-29 14:42:40 +0800
committerfaqiang.zhu <faqiang.zhu@nxp.com>2018-11-29 17:04:23 +0800
commita024d695b71caf33a3ec2334c235beba398393c2 (patch)
tree148a15e052f78b88c86ddac1f666634398d956a6 /drivers
parentf322e8a2c62e765f434d14bd77ed97594b0acaa1 (diff)
MA-13537-4 remove the feature that imx6 and imx7 can always unlock
now the uboot used by uuu is compiled indepently from the one flashed to the board, and for imx6 and imx7, defconfig from BSP team is used to configure the uboot for uuu, so there is no need to unlock the device when flash the board. Change-Id: Ieefbd67e095dd51eab87e9a32b586cdf88f05d81 Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/gadget/fastboot_lock_unlock.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/gadget/fastboot_lock_unlock.c b/drivers/usb/gadget/fastboot_lock_unlock.c
index b575a78eef..2a377f9ebd 100644
--- a/drivers/usb/gadget/fastboot_lock_unlock.c
+++ b/drivers/usb/gadget/fastboot_lock_unlock.c
@@ -477,12 +477,6 @@ FbLockEnableResult fastboot_lock_enable() {
int mmc_id;
FbLockEnableResult ret;
- /* for imx6 and imx7 platforms, ignore presistdata partition
- * for the convenience of using uuu
- */
- if (is_mx6() || is_mx7() || is_mx7ulp())
- return FASTBOOT_UL_ENABLE;
-
bdata = (unsigned char *)memalign(ALIGN_BYTES, SECTOR_SIZE);
if (bdata == NULL)
return FASTBOOT_UL_ERROR;