mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: nxp-imx93-frdm: use tabs instead of spaces
@ 2026-06-10 17:49 Bastian Krause
  2026-06-10 17:49 ` [PATCH 2/2] ARM: nxp-imx93-frdm: add bbu handler for eMMC Bastian Krause
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Bastian Krause @ 2026-06-10 17:49 UTC (permalink / raw)
  To: barebox; +Cc: Bastian Krause

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
 arch/arm/boards/nxp-imx93-frdm/board.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boards/nxp-imx93-frdm/board.c b/arch/arm/boards/nxp-imx93-frdm/board.c
index 1e1c54ce811..09ce3349537 100644
--- a/arch/arm/boards/nxp-imx93-frdm/board.c
+++ b/arch/arm/boards/nxp-imx93-frdm/board.c
@@ -3,9 +3,9 @@
 #include <deep-probe.h>
 
 static const struct of_device_id frdm_imx93_of_match[] = {
-        {
-                .compatible = "fsl,imx93-11x11-frdm",
-        },
+	{
+		.compatible = "fsl,imx93-11x11-frdm",
+	},
         { /* sentinel */ },
 };
 
-- 
2.47.3




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

* [PATCH 2/2] ARM: nxp-imx93-frdm: add bbu handler for eMMC
  2026-06-10 17:49 [PATCH 1/2] ARM: nxp-imx93-frdm: use tabs instead of spaces Bastian Krause
@ 2026-06-10 17:49 ` Bastian Krause
  2026-06-10 18:22   ` Marco Felsch
  2026-06-10 18:22 ` [PATCH 1/2] ARM: nxp-imx93-frdm: use tabs instead of spaces Marco Felsch
  2026-06-15  7:51 ` Sascha Hauer
  2 siblings, 1 reply; 5+ messages in thread
From: Bastian Krause @ 2026-06-10 17:49 UTC (permalink / raw)
  To: barebox; +Cc: Bastian Krause

This allows updating barebox via barebox_update as well as via fastboot.

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
 arch/arm/boards/nxp-imx93-frdm/board.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boards/nxp-imx93-frdm/board.c b/arch/arm/boards/nxp-imx93-frdm/board.c
index 09ce3349537..b9463e3d172 100644
--- a/arch/arm/boards/nxp-imx93-frdm/board.c
+++ b/arch/arm/boards/nxp-imx93-frdm/board.c
@@ -1,6 +1,15 @@
 // SPDX-License-Identifier: GPL-2.0
 
+#include <common.h>
 #include <deep-probe.h>
+#include <mach/imx/bbu.h>
+
+static int imx93_frdm_probe(struct device *dev)
+{
+	imx9_bbu_internal_mmcboot_register_handler("eMMC", "/dev/mmc0", 0);
+
+	return 0;
+}
 
 static const struct of_device_id frdm_imx93_of_match[] = {
 	{
@@ -10,3 +19,10 @@ static const struct of_device_id frdm_imx93_of_match[] = {
 };
 
 BAREBOX_DEEP_PROBE_ENABLE(frdm_imx93_of_match);
+
+static struct driver frdm_imx93_board_driver = {
+	.name = "board-imx93-frdm",
+	.probe = imx93_frdm_probe,
+	.of_compatible = frdm_imx93_of_match,
+};
+coredevice_platform_driver(frdm_imx93_board_driver);
-- 
2.47.3




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

* Re: [PATCH 2/2] ARM: nxp-imx93-frdm: add bbu handler for eMMC
  2026-06-10 17:49 ` [PATCH 2/2] ARM: nxp-imx93-frdm: add bbu handler for eMMC Bastian Krause
@ 2026-06-10 18:22   ` Marco Felsch
  0 siblings, 0 replies; 5+ messages in thread
From: Marco Felsch @ 2026-06-10 18:22 UTC (permalink / raw)
  To: Bastian Krause; +Cc: barebox

On 26-06-10, Bastian Krause wrote:
> This allows updating barebox via barebox_update as well as via fastboot.
> 
> Signed-off-by: Bastian Krause <bst@pengutronix.de>

Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>



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

* Re: [PATCH 1/2] ARM: nxp-imx93-frdm: use tabs instead of spaces
  2026-06-10 17:49 [PATCH 1/2] ARM: nxp-imx93-frdm: use tabs instead of spaces Bastian Krause
  2026-06-10 17:49 ` [PATCH 2/2] ARM: nxp-imx93-frdm: add bbu handler for eMMC Bastian Krause
@ 2026-06-10 18:22 ` Marco Felsch
  2026-06-15  7:51 ` Sascha Hauer
  2 siblings, 0 replies; 5+ messages in thread
From: Marco Felsch @ 2026-06-10 18:22 UTC (permalink / raw)
  To: Bastian Krause; +Cc: barebox

On 26-06-10, Bastian Krause wrote:
> Signed-off-by: Bastian Krause <bst@pengutronix.de>

Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>



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

* Re: [PATCH 1/2] ARM: nxp-imx93-frdm: use tabs instead of spaces
  2026-06-10 17:49 [PATCH 1/2] ARM: nxp-imx93-frdm: use tabs instead of spaces Bastian Krause
  2026-06-10 17:49 ` [PATCH 2/2] ARM: nxp-imx93-frdm: add bbu handler for eMMC Bastian Krause
  2026-06-10 18:22 ` [PATCH 1/2] ARM: nxp-imx93-frdm: use tabs instead of spaces Marco Felsch
@ 2026-06-15  7:51 ` Sascha Hauer
  2 siblings, 0 replies; 5+ messages in thread
From: Sascha Hauer @ 2026-06-15  7:51 UTC (permalink / raw)
  To: barebox, Bastian Krause


On Wed, 10 Jun 2026 19:49:18 +0200, Bastian Krause wrote:
> 


Applied, thanks!

[1/2] ARM: nxp-imx93-frdm: use tabs instead of spaces
      https://git.pengutronix.de/cgit/barebox/commit/?id=44fc2f6569d1 (link may not be stable)
[2/2] ARM: nxp-imx93-frdm: add bbu handler for eMMC
      https://git.pengutronix.de/cgit/barebox/commit/?id=6b557db8a089 (link may not be stable)

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




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

end of thread, other threads:[~2026-06-15  7:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10 17:49 [PATCH 1/2] ARM: nxp-imx93-frdm: use tabs instead of spaces Bastian Krause
2026-06-10 17:49 ` [PATCH 2/2] ARM: nxp-imx93-frdm: add bbu handler for eMMC Bastian Krause
2026-06-10 18:22   ` Marco Felsch
2026-06-10 18:22 ` [PATCH 1/2] ARM: nxp-imx93-frdm: use tabs instead of spaces Marco Felsch
2026-06-15  7:51 ` Sascha Hauer

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