Skip to content
Snippets Groups Projects
Commit 40f4839c authored by Stefano Babic's avatar Stefano Babic
Browse files

imx_common: check for Serial Downloader in spl_boot_device


Check for bmode before reading the boot device
to check if a serial downloader is started,
and returns UART if the serial downloader is set,
letting SPL to wait for an image if
CONFIG_SPL_YMODEM_SUPPORT is set.

This allows to load again a SPL based board
with imx_usb_loader together with a tool
such as kermit.

Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
CC: Tim Harvey <tharvey@gateworks.com>
CC: Fabio Estevam <Fabio.Estevam@freescale.com>
CC: Eric Nelson <eric.nelson@boundarydevices.com>
Reviewed-by: default avatarEric Nelson <eric@nelint.com>
Tested-by: default avatarEric Nelson <eric@nelint.com>
parent fe21eaf9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment