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 14:42:40 +0800
commit0f6a15d8ad0b267d68f62f80a8b0810251b6a83e (patch)
tree7bacd246c1e08d7364fbbbc14b45dc8bde7b3bf0 /drivers
parent4b452996dda0085d94ed52f1e9df3b10f90ef175 (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;