apalis_imx6: use SDP if USB serial downloader has been used
authorStefan Agner <stefan.agner@toradex.com>
Fri, 8 Feb 2019 17:12:24 +0000 (18:12 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 13 Apr 2019 18:30:08 +0000 (20:30 +0200)
commit15834c638317d480e943fae688b148edcfc52892
tree361718194993f75deccab4a1aaaea53296d94295
parentede25100e1930cca9d4c7188dc65842ccb340cd1
apalis_imx6: 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>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
board/toradex/apalis_imx6/apalis_imx6.c