mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fixup! ARM: i.MX8M: Add support for eCSPI boot
@ 2025-06-11  9:07 Jonas Rebmann
  2025-06-11 14:57 ` Sascha Hauer
  2025-06-11 18:24 ` Ahmad Fatoum
  0 siblings, 2 replies; 3+ messages in thread
From: Jonas Rebmann @ 2025-06-11  9:07 UTC (permalink / raw)
  To: Sascha Hauer, BAREBOX; +Cc: Jonas Rebmann

Signed-off-by: Jonas Rebmann <jre@pengutronix.de>
---
 arch/arm/mach-imx/atf.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/mach-imx/atf.c b/arch/arm/mach-imx/atf.c
index 6993e33baa..e6c21107a5 100644
--- a/arch/arm/mach-imx/atf.c
+++ b/arch/arm/mach-imx/atf.c
@@ -104,6 +104,9 @@ void imx8mm_load_bl33(void *bl33)
 	case BOOTSOURCE_SPI:
 		imx8mm_qspi_load_image(instance, bl33);
 		break;
+	case BOOTSOURCE_SPI_NOR:
+		imx8m_ecspi_load_image(instance, bl33);
+		break;
 	default:
 		printf("Unsupported bootsource BOOTSOURCE_%d\n", src);
 		hang();
@@ -269,6 +272,9 @@ void imx8mn_load_bl33(void *bl33)
 	case BOOTSOURCE_SPI:
 		imx8mn_qspi_load_image(instance, bl33);
 		break;
+	case BOOTSOURCE_SPI_NOR:
+		imx8m_ecspi_load_image(instance, bl33);
+		break;
 	default:
 		printf("Unhandled bootsource BOOTSOURCE_%d\n", src);
 		hang();
@@ -334,6 +340,9 @@ void imx8mq_load_bl33(void *bl33)
 	case BOOTSOURCE_MMC:
 		imx8m_esdhc_load_image(instance, bl33);
 		break;
+	case BOOTSOURCE_SPI_NOR:
+		imx8m_ecspi_load_image(instance, bl33);
+		break;
 	default:
 		printf("Unhandled bootsource BOOTSOURCE_%d\n", src);
 		hang();
-- 
2.39.5




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] fixup! ARM: i.MX8M: Add support for eCSPI boot
  2025-06-11  9:07 [PATCH] fixup! ARM: i.MX8M: Add support for eCSPI boot Jonas Rebmann
@ 2025-06-11 14:57 ` Sascha Hauer
  2025-06-11 18:24 ` Ahmad Fatoum
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2025-06-11 14:57 UTC (permalink / raw)
  To: BAREBOX, Jonas Rebmann


On Wed, 11 Jun 2025 11:07:53 +0200, Jonas Rebmann wrote:
> 


Applied, thanks!

[1/1] fixup! ARM: i.MX8M: Add support for eCSPI boot
      https://git.pengutronix.de/cgit/barebox/commit/?id=1f2b72578fb9 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] fixup! ARM: i.MX8M: Add support for eCSPI boot
  2025-06-11  9:07 [PATCH] fixup! ARM: i.MX8M: Add support for eCSPI boot Jonas Rebmann
  2025-06-11 14:57 ` Sascha Hauer
@ 2025-06-11 18:24 ` Ahmad Fatoum
  1 sibling, 0 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2025-06-11 18:24 UTC (permalink / raw)
  To: Jonas Rebmann, Sascha Hauer, BAREBOX

Hi,

On 6/11/25 11:07, Jonas Rebmann wrote:
> Signed-off-by: Jonas Rebmann <jre@pengutronix.de>

Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>

Thank you,
Ahmad

> ---
>  arch/arm/mach-imx/atf.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm/mach-imx/atf.c b/arch/arm/mach-imx/atf.c
> index 6993e33baa..e6c21107a5 100644
> --- a/arch/arm/mach-imx/atf.c
> +++ b/arch/arm/mach-imx/atf.c
> @@ -104,6 +104,9 @@ void imx8mm_load_bl33(void *bl33)
>  	case BOOTSOURCE_SPI:
>  		imx8mm_qspi_load_image(instance, bl33);
>  		break;
> +	case BOOTSOURCE_SPI_NOR:
> +		imx8m_ecspi_load_image(instance, bl33);
> +		break;
>  	default:
>  		printf("Unsupported bootsource BOOTSOURCE_%d\n", src);
>  		hang();
> @@ -269,6 +272,9 @@ void imx8mn_load_bl33(void *bl33)
>  	case BOOTSOURCE_SPI:
>  		imx8mn_qspi_load_image(instance, bl33);
>  		break;
> +	case BOOTSOURCE_SPI_NOR:
> +		imx8m_ecspi_load_image(instance, bl33);
> +		break;
>  	default:
>  		printf("Unhandled bootsource BOOTSOURCE_%d\n", src);
>  		hang();
> @@ -334,6 +340,9 @@ void imx8mq_load_bl33(void *bl33)
>  	case BOOTSOURCE_MMC:
>  		imx8m_esdhc_load_image(instance, bl33);
>  		break;
> +	case BOOTSOURCE_SPI_NOR:
> +		imx8m_ecspi_load_image(instance, bl33);
> +		break;
>  	default:
>  		printf("Unhandled bootsource BOOTSOURCE_%d\n", src);
>  		hang();

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-11 22:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-11  9:07 [PATCH] fixup! ARM: i.MX8M: Add support for eCSPI boot Jonas Rebmann
2025-06-11 14:57 ` Sascha Hauer
2025-06-11 18:24 ` Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox