commit | 6a6692fdd509efdd39f0ce38ac4d9c86811d8147 | [log] [tgz] |
---|---|---|
author | Stefan Agner <stefan.agner@toradex.com> | Wed Sep 13 14:29:44 2017 -0700 |
committer | Stefano Babic <sbabic@denx.de> | Mon Sep 18 16:51:36 2017 +0200 |
tree | 478788be8973768e5b07577e0e12fde873ed6114 | |
parent | a33c14aaa14e8c440877094a87a69e53937c883b [diff] |
imx: add macro to detect whether USB PHY is active This macro allows to detect whether the USB PHY is active. This is helpful to detect if the boot ROM has previously started the USB serial downloader. The idea is taken from the mfgtool support in the NXP U-Boot: http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/commit/?h=imx_v2016.03_4.1.15_2.0.0_ga&id=a352ed3c5184b95c4c9f7468f5fbb5f43de5e412 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>