MA-14916-10 fix fastboot reboot bootloader issue
authorfaqiang.zhu <faqiang.zhu@nxp.com>
Tue, 9 Jul 2019 10:52:12 +0000 (18:52 +0800)
committerfaqiang.zhu <faqiang.zhu@nxp.com>
Mon, 15 Jul 2019 07:13:42 +0000 (15:13 +0800)
commitaa78cbe3d3148ab99ea039ede767e6d1152092b4
tree9635fb9905c0b2e5242e63e9b552a6b35db07a66
parentdb441a89a090c46149457ee29492bc315c2bdfa9
MA-14916-10 fix fastboot reboot bootloader issue

In Android, the reboot bootloader flag is written to misc partition, in
the boot flow, u-boot will check that message to decide whether enter
fastboot mode or not. To be compatible with the common implemention,
keep the fastboot_set_reboot_flag there and redefine it to avoid the
error return value which block the reboot process.

Change-Id: Ifb55236d5a5daf3edd124d3ed01851ff6e916e1a
Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
drivers/fastboot/fb_fsl/fb_fsl_command.c