
29 Nov
2023
29 Nov
'23
7:18 p.m.
On Thu, Nov 9, 2023 at 1:44 PM Hiago De Franco hiagofranco@gmail.com wrote:
This commit adds support for Fastboot boot commands by checking both
Just a nit: use imperative mood - "Add support for Fastboot....".
CONFIG_CMD_USB_SDP and CONFIG_USB_FUNCTION_FASTBOOT. If either of these configurations is set, it indicates that the board is in recovery mode and can use either SDP or Fastboot.
The default option remains the SDP command, but if CONFIG_CMD_FASTBOOT is set, it changes to 'fastboot usb 0' as the boot command.
Signed-off-by: Hiago De Franco hiago.franco@toradex.com
Reviewed-by: Fabio Estevam festevam@gmail.com