u-boot-brain/drivers/usb
Roman Kovalivskyi 2b2a771b40 fastboot: Add support for 'reboot fastboot' command
Android 10 adds support for dynamic partitions and in order to support
this userspace fastboot must be used[1]. New tool fastbootd is
included into recovery.

Userspace fastboot works from recovery and is launched if:
1) - Dynamic partitioning is enabled
2) - Boot control block has 'boot-fastboot' value into command field
The bootloader is expected to load and boot into the recovery image
upon seeing boot-fastboot in the BCB command. Recovery then parses the
BCB message and switches to fastbootd mode[2].

Please note that boot script is expected to handle 'boot-fastboot'
command in BCB and load into recovery mode.

Bootloader must support 'reboot fastboot' command which should reboot
device into userspace fastboot to accomodate those changes[3].

Another command that bootloader must support[3] is 'reboot recovery'. This
command should simply reboot device into recovery mode.

[1] - https://source.android.com/devices/bootloader/fastbootd
[2] - https://source.android.com/devices/bootloader/fastbootd#unified_fastboot_and_recovery
[3] - https://source.android.com/devices/bootloader/fastbootd#modifications_to_the_bootloader

Signed-off-by: Roman Kovalivskyi <roman.kovalivskyi@globallogic.com>
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Change-Id: I9d2bdc9a6f6f31ea98572fe155e1cc8341e9af76
2020-09-01 14:47:43 +02:00
..
cdns3 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
common treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
dwc3 treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
emul common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
eth eth/r8152: support RTL8153B/RTL8154B 2020-09-01 14:47:36 +02:00
gadget fastboot: Add support for 'reboot fastboot' command 2020-09-01 14:47:43 +02:00
host usb: ci_udc: Add function to remove usb device 2020-09-01 14:47:43 +02:00
musb common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
musb-new xen: Port Xen hypervisor related code from mini-os 2020-08-14 15:18:30 -04:00
phy common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ulpi common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Kconfig drivers: usb: Fix config indentation 2020-08-27 11:20:33 -04:00