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>
Thu, 29 Apr 2021 07:56:09 +0000 (00:56 -0700)
commitcc216825ff95cd2b7326b66aef2bb512f6d1824e
tree8423e5a1949af7e64cffdf60162020dc87449fd6
parent06c86a100cadabc9bfe75465d99d0c705958d9a2
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>
(cherry picked from commit 306fca12fb21829be552a6262e310a90664a8cc2)
(cherry picked from commit 4880a6a4c93fd7141d4cc1de5b987c8efdf2cc2a)
arch/arm/include/asm/arch-mx7ulp/imx-regs.h
arch/arm/mach-imx/mx7ulp/soc.c