]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: apalis/colibri imx6/imx6ull/imx7: Add fastboot bootcmd support
authorHiago De Franco <hiagofranco@gmail.com>
Thu, 9 Nov 2023 16:24:01 +0000 (13:24 -0300)
committerFabio Estevam <festevam@gmail.com>
Wed, 13 Dec 2023 13:03:14 +0000 (10:03 -0300)
commit220bb4e15086f9cc7a43a5726fde1919f65c8277
tree16e971d444ee52885e5f0880d866f24f1bec4ac0
parent50c67ddbe4a6a3f7a2afe14152e0fc5561435dac
board: apalis/colibri imx6/imx6ull/imx7: Add fastboot bootcmd support

This commit adds support for Fastboot boot commands by checking both
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>
board/toradex/apalis_imx6/apalis_imx6.c
board/toradex/colibri-imx6ull/colibri-imx6ull.c
board/toradex/colibri_imx6/colibri_imx6.c
board/toradex/colibri_imx7/colibri_imx7.c