]> git.baikalelectronics.ru Git - uboot.git/commit
imx: add macro to detect whether USB has been initialized
authorStefan Agner <stefan.agner@toradex.com>
Wed, 30 May 2018 17:01:45 +0000 (19:01 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 23 Jul 2018 08:12:00 +0000 (10:12 +0200)
commit78ae56410e116374b786caca4adf759fd494e39d
tree543e269fbff68f65caf11abe12ccbd397d11c105
parent696edb0e382e883e3770f46a2899b83d25515a5f
imx: add macro to detect whether USB has been initialized

This macro allows to detect whether the boot ROM initialized USB
already (serial downloader). This is helpful to reliably detect
if the system has been recovered via USB serial downloader.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
arch/arm/include/asm/arch-mx6/imx-regs.h