[PATCH 3/9] ARM: i.MX8MN: add SDPS barebox-side support
Ahmad Fatoum
a.fatoum at pengutronix.de
Fri Aug 5 05:54:07 PDT 2022
i.MX8MN SoCs offer the same boot ROM API as the i.MX8MP and we already
have an imx8mn_bootrom_load_image() providing access to it. Wire it in
to allow using SDPS with barebox.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
arch/arm/mach-imx/atf.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-imx/atf.c b/arch/arm/mach-imx/atf.c
index bb9e04c9746b..a4c658283006 100644
--- a/arch/arm/mach-imx/atf.c
+++ b/arch/arm/mach-imx/atf.c
@@ -181,6 +181,9 @@ void imx8mn_load_and_start_image_via_tfa(void)
case BOOTSOURCE_MMC:
imx8mn_esdhc_load_image(instance, false);
break;
+ case BOOTSOURCE_SERIAL:
+ imx8mn_bootrom_load_image();
+ break;
default:
printf("Unhandled bootsource BOOTSOURCE_%d\n", src);
hang();
--
2.30.2
More information about the barebox
mailing list