board: colibri_imx7: use SDP if USB serial downloader has been used
authorStefan Agner <stefan.agner@toradex.com>
Fri, 23 Jul 2021 06:39:45 +0000 (09:39 +0300)
committerStefano Babic <sbabic@denx.de>
Mon, 9 Aug 2021 11:09:29 +0000 (13:09 +0200)
commit46307ef01e083e3bbbad62f6b75107201e0c6184
tree1d524e21079463215a908c69ee16c8c9b445d8d9
parent5d236df9a0e4d5358892f77d7680d80917a7acd2
board: colibri_imx7: use SDP if USB serial downloader has been used

In case USB serial downloader has been used to load U-Boot start the
serial download protocol (SDP) emulation. This allows to download
complete images such as Toradex Easy Installer over USB SDP as well.
This code uses the boot ROM provided boot information to reliably
detect USB serial downloader.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
board/toradex/colibri_imx7/colibri_imx7.c