[PATCH v2 09/23] ARM: i.MX bootsource: set QSPI instance
Marco Felsch
m.felsch at pengutronix.de
Mon Mar 13 06:41:48 PDT 2023
Set the instance to avoid '$bootsource_instace = unkown' albeit most
SoCs just have one instance.
Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
---
arch/arm/mach-imx/boot.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-imx/boot.c b/arch/arm/mach-imx/boot.c
index a6322e4850..6f6f7008be 100644
--- a/arch/arm/mach-imx/boot.c
+++ b/arch/arm/mach-imx/boot.c
@@ -535,6 +535,7 @@ static void __imx7_get_boot_source(enum bootsource *src, int *instance,
break;
case 4:
*src = BOOTSOURCE_SPI; /* Really: qspi */
+ *instance = info->boot_device_instance;
break;
case 5:
*src = BOOTSOURCE_NOR;
--
2.30.2
More information about the barebox
mailing list