]> git.baikalelectronics.ru Git - uboot.git/commit
imx: fix USB boot mode detection for i.MX 6UL and 6ULL
authorStefan Agner <stefan.agner@toradex.com>
Wed, 16 Aug 2017 00:49:42 +0000 (17:49 -0700)
committerStefano Babic <sbabic@denx.de>
Fri, 25 Aug 2017 11:31:31 +0000 (13:31 +0200)
commit3643450d9ad043354b5280047fb8ddf9efd09163
tree460c162fc7f0055bd23a4b9c912b66ca3ba8eeab
parentc43bcfa389e874154d7651dc5e39f0c5403b34c1
imx: fix USB boot mode detection for i.MX 6UL and 6ULL

Add the reserved boot mode used in the bmode command for i.MX 6UL
and 6ULL as introduced in commit ed0e8805a370 ("imx: mx6ull: fix USB
bmode for i.MX 6UL and 6ULL").

Also replace BMODE_UART with BMODE_RESERVED, which is more appropriate.
Commit 1e07bc795883 ("imx: Use IMX6_BMODE_* macros instead of numericals")
added macros for boot modes, in the process the reserved boot mode got
named BMODE_UART. We use the reserved boot mode in the bmode command to
let the boot ROM enter serial downloader recovery mode. But this is only
a side effect, the actual boot mode is reserved...

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
arch/arm/include/asm/mach-imx/sys_proto.h
arch/arm/mach-imx/spl.c