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)
committerJi Luo <ji.luo@nxp.com>
Thu, 13 May 2021 01:49:17 +0000 (09:49 +0800)
commit2574a4d52d6f982a9a4a9eb6af1421fe65bc6e1f
treef594ea9161e56e13e35ce28c67e17386dccb22a1
parent82dd5d685c7b6f59aa85f7b69b1781ffaa9d39ca
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>
(cherry picked from commit aa78cbe3d3148ab99ea039ede767e6d1152092b4)
drivers/fastboot/fb_fsl/fb_fsl_command.c