MA-16457-2 support reboot-fastboot command in u-boot
authorHaoran.Wang <elven.wang@nxp.com>
Wed, 26 Feb 2020 00:45:13 +0000 (08:45 +0800)
committerJi Luo <ji.luo@nxp.com>
Thu, 13 May 2021 01:49:18 +0000 (09:49 +0800)
commite85a5f856e7819eff2c4ba8da9490a03f5edd346
tree747b2811fac4b8c9844d582870fa8cde4e1a7cd1
parent10a635bbbbfe36ab39ed77c84fe8d30000c638f5
MA-16457-2 support reboot-fastboot command in u-boot

Android implement the userspace fastboot in Android Recovery.
Follow Google's spec, added below 2 fastboot command support:
  * fastboot getvar is-userspace
  * fastboot reboot fastboot

TEST: fastboot commands.

Change-Id: Ib6047413be0a45b3c00626cdb8594809eb8a2b6b
Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
(cherry picked from commit 314bded076dfc3e544cc7094ce3f6c4c330be4dd)
(cherry picked from commit 89e63a8f1b20dfe5633f4d854aeb6d712b3ccaa4)
drivers/fastboot/fb_fsl/bcb.h
drivers/fastboot/fb_fsl/command.c
drivers/fastboot/fb_fsl/fb_fsl_command.c
drivers/fastboot/fb_fsl/fb_fsl_getvar.c
drivers/usb/gadget/f_fastboot.c
include/fastboot.h
net/fastboot.c