[PATCH 4/6] imx95: Remove ROM info USB instance workaround for B0

Alice Guo (OSS) alice.guo at oss.nxp.com
Sun Jul 20 00:13:55 CEST 2025


From: Ye Li <ye.li at nxp.com>

There was a bug in ROM on A0 for USB instance: USB1 is 3, USB2 is 4.
So u-boot had a workaround to match with it.
Since the issue is fixed on B0, so need a additional change.

Signed-off-by: Ye Li <ye.li at nxp.com>
Signed-off-by: Alice Guo <alice.guo at nxp.com>
Reviewed-by: Peng Fan <peng.fan at nxp.com>
---
 arch/arm/mach-imx/imx9/scmi/soc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/mach-imx/imx9/scmi/soc.c b/arch/arm/mach-imx/imx9/scmi/soc.c
index 13f13ca7d10..b21b18110b1 100644
--- a/arch/arm/mach-imx/imx9/scmi/soc.c
+++ b/arch/arm/mach-imx/imx9/scmi/soc.c
@@ -719,8 +719,6 @@ enum boot_device get_boot_device(void)
 		break;
 	case BT_DEV_TYPE_USB:
 		boot_dev = boot_instance + USB_BOOT;
-		if (IS_ENABLED(CONFIG_IMX95))
-			boot_dev -= 3; //iMX95 usb instance start at 3
 		break;
 	default:
 		break;

-- 
2.43.0



More information about the U-Boot mailing list