]> git.dujemihanovic.xyz Git - u-boot.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)
commita48a824dbac4a33e4b27b9f568ea28c52b631658
tree8671f8a3b3cf0905c8013bb60761b06efba227ae
parent1490292a0775c89a7ab4e79eab9e3c859a38f106
imx: fix get_boot_device() for imx8

commit 787f04bb6a0a ("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: 787f04bb6a0a ("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