MLK-20510-3 mx7ulp: Change is_boot_from_usb to use get_boot_device
authorYe Li <ye.li@nxp.com>
Fri, 17 May 2019 09:42:33 +0000 (02:42 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 11:28:57 +0000 (04:28 -0700)
commit306fca12fb21829be552a6262e310a90664a8cc2
tree669deca2ed63c29198cbd0e1eb3d1e51c69e9116
parent4934c765c6f1c9c997a28aa79f08c14fc4e91202
MLK-20510-3 mx7ulp: Change is_boot_from_usb to use get_boot_device

The get_boot_device will return USB type from ROM info if booting from
serial download, so change the is_boot_from_usb to use this function.

Signed-off-by: Ye Li <ye.li@nxp.com>
arch/arm/include/asm/arch-mx7ulp/imx-regs.h
arch/arm/mach-imx/mx7ulp/soc.c