[PATCH] imx: fix get_boot_device() for imx8

sbabic at denx.de sbabic at denx.de
Tue May 2 14:47:12 CEST 2023

> 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 at gateworks.com>
> Reviewed-by: Peng Fan <peng.fan at nxp.com>
> Reviewed-by: Fabio Estevam <festevam at denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de

More information about the U-Boot mailing list