Commit a024d695b71caf33a3ec2334c235beba398393c2

Authored by faqiang.zhu
1 parent f322e8a2c6

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>

Showing 1 changed file with 0 additions and 6 deletions Side-by-side Diff

drivers/usb/gadget/fastboot_lock_unlock.c
... ... @@ -477,12 +477,6 @@
477 477 int mmc_id;
478 478 FbLockEnableResult ret;
479 479  
480   - /* for imx6 and imx7 platforms, ignore presistdata partition
481   - * for the convenience of using uuu
482   - */
483   - if (is_mx6() || is_mx7() || is_mx7ulp())
484   - return FASTBOOT_UL_ENABLE;
485   -
486 480 bdata = (unsigned char *)memalign(ALIGN_BYTES, SECTOR_SIZE);
487 481 if (bdata == NULL)
488 482 return FASTBOOT_UL_ERROR;