MLK-16361-2 imx8qm/qxp: Use sw_info for USB boot check
authorYe Li <ye.li@nxp.com>
Mon, 4 Sep 2017 02:11:39 +0000 (21:11 -0500)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:16 +0000 (02:37 +0800)
commit75dca16dd6751f0449e6f018dcff275287d1bd1d
tree855f441f5debba680145ed573396736ad33321c9
parent67bb87f16e3742d6fab0b7837ffdb8bbed1245d1
MLK-16361-2 imx8qm/qxp: Use sw_info for USB boot check

The sw_info in handover structure has included the boot device info
provided by SC ROM. We can exploit this info, no need to check the
USB2 PHY PWD register.

Signed-off-by: Ye Li <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
arch/arm/cpu/armv8/imx8/cpu.c
arch/arm/include/asm/arch-imx8/imx-regs.h