u-boot/arch
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
..
arc env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
arm imx_common: detect USB serial downloader reliably 2017-09-18 17:15:22 +02:00
m68k m68k: add board stmark2, mcf5441x based 2017-08-18 01:26:52 +02:00
microblaze env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
mips env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
nds32 dma: import linux/dma-direction.h to consolidate enum dma_data_direction 2017-09-12 18:02:23 -04:00
nios2 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
powerpc powerpc: Rework interrupt_init_cpu() 2017-08-26 14:56:08 -04:00
sandbox dm: test: replace dm_scan_dt() by of dm_extended_scan_fdt() in dm_do_test 2017-09-11 21:43:58 -06:00
sh sh: Fix linking of ms7722se 2017-08-27 11:50:16 -04:00
x86 dma: import linux/dma-direction.h to consolidate enum dma_data_direction 2017-09-12 18:02:23 -04:00
xtensa env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
.gitignore
Kconfig usb: net: migrate USB Ethernet adapters to Kconfig 2017-09-08 10:23:00 -04:00