]> git.baikalelectronics.ru Git - uboot.git/commit
imx: fix get_boot_device() for imx8
authorTim Harvey <tharvey@gateworks.com>
Mon, 24 Apr 2023 16:33:44 +0000 (09:33 -0700)
committerStefano Babic <sbabic@denx.de>
Tue, 2 May 2023 08:57:32 +0000 (10:57 +0200)
commit20e5ddb96091ea1cbf04230ca42929a6805c66e2
tree8671f8a3b3cf0905c8013bb60761b06efba227ae
parent30f75d07ed10fdf7802447b24764fa3df80cd83c
imx: fix get_boot_device() for imx8

commit 6d4afd482c4e ("imx: add USB2_BOOT type") broke get_boot_device()
for IMX8 which affects booting from SDP due to boot_instance being
non-zero.

Fix this by only using boot_instance for imx8ulp and imx9.

Fixes: 6d4afd482c4e ("imx: add USB2_BOOT type")
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
arch/arm/mach-imx/romapi.c