MLK-13410 Android: Change to set mfgtool only for none android u-boot
authorYe Li <ye.li@nxp.com>
Mon, 31 Oct 2016 02:10:17 +0000 (10:10 +0800)
committerYe Li <ye.li@nxp.com>
Wed, 5 Apr 2017 06:04:37 +0000 (14:04 +0800)
commit7403dd7d154e1cb64a5a852ded97988f0c760eda
treefb2786e85a691db05a33a75b9bbd0e2e2004dc61
parentd93981a97a5fda34433d9427d0130c0b9663b1b1
MLK-13410 Android: Change to set mfgtool only for none android u-boot

The mfgtool environments only can set in BSP u-boot image, not for android
u-boot. Since android u-boot may go into fastboot in board_r phase which is
earlier than mfgtool environment check. The USB status from android fastboot
will cause u-boot to configure mfgtool environment.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 066f001a19bdc51b0fc0d65bcb87081b01f957c2)
(cherry picked from commit 03f995630f92462081e98412a0fbc86bb5106f10)
common/autoboot.c