u-boot/arch/arm/mach-imx
Stefan Agner e203dcf23e imx_common: detect USB serial downloader reliably
The current mechanism using SCR/GPR registers work well when
the serial downloader boot mode has been selected explicitly
(either via boot mode pins or using bmode command). However,
in case the system entered boot ROM due to unbootable primary
boot devices (e.g. empty eMMC), the SPL fails to detect that
it has been downloaded through serial loader and tries to
continue booting from eMMC:
  Trying to boot from MMC1
  mmc_load_image_raw_sector: mmc block read error
  SPL: failed to boot from all boot devices
  ### ERROR ### Please RESET the board ###

The only known way to reliably detect USB serial downloader
is by checking the USB PHY receiver block power state...

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Tested-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Eric Nelson <eric@nelint.com>
2017-09-18 17:15:22 +02:00
..
mx5 imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
mx6 usb: net: migrate USB Ethernet adapters to Kconfig 2017-09-08 10:23:00 -04:00
mx7 imx: mx7: psci: add copyright and license 2017-08-23 10:45:25 +02:00
mx7ulp imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
cache.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
cmd_bmode.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
cmd_dek.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
cmd_hdmidet.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
cpu.c dm: sata: imx: Allow driver model to be used for sata 2017-08-17 16:44:17 +09:00
ddrmc-vf610.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
hab.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
i2c-mxv7.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
imx_bootaux.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
init.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
iomux-v3.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
Kconfig imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
Makefile imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
misc.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
rdc-sema.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
sata.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
speed.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
spl.c imx_common: detect USB serial downloader reliably 2017-09-18 17:15:22 +02:00
spl_sd.cfg imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
syscounter.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
timer.c imx: timer: don't clear the GPT control register multiple times 2017-08-29 09:47:28 +02:00
video.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00