* [PATCH v2] ARM: boards: protonic-imx6: Re-introduce generic boot target board string
@ 2025-03-31 14:33 Robin van der Gracht
2025-04-01 5:36 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Robin van der Gracht @ 2025-03-31 14:33 UTC (permalink / raw)
To: Sascha Hauer; +Cc: barebox, Robin van der Gracht
This allows using a single bootable usb drive for multiple boards.
Signed-off-by: Robin van der Gracht <robin@protonic.nl>
---
v2:
- Changed generic boot target name from prti6qp to generic-imx6
arch/arm/boards/protonic-imx6/board.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boards/protonic-imx6/board.c b/arch/arm/boards/protonic-imx6/board.c
index bbebbb8dc9..9292052d30 100644
--- a/arch/arm/boards/protonic-imx6/board.c
+++ b/arch/arm/boards/protonic-imx6/board.c
@@ -373,7 +373,7 @@ static int prt_imx6_usb_boot(struct bootentry *entry, int verbose, int dryrun)
*second_word = 0;
- if (strcmp(buf, priv->name)) {
+ if (strcmp(buf, priv->name) && strcmp(buf, "generic-imx6")) {
dev_err(dev, "Boot target for a different board! (got: %s expected: %s)\n",
buf, priv->name);
ret = -EINVAL;
--
2.43.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2] ARM: boards: protonic-imx6: Re-introduce generic boot target board string
2025-03-31 14:33 [PATCH v2] ARM: boards: protonic-imx6: Re-introduce generic boot target board string Robin van der Gracht
@ 2025-04-01 5:36 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-04-01 5:36 UTC (permalink / raw)
To: Robin van der Gracht; +Cc: barebox
On Mon, 31 Mar 2025 16:33:43 +0200, Robin van der Gracht wrote:
> This allows using a single bootable usb drive for multiple boards.
>
>
Applied, thanks!
[1/1] ARM: boards: protonic-imx6: Re-introduce generic boot target board string
https://git.pengutronix.de/cgit/barebox/commit/?id=68c0cc7e0eec (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-01 5:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-31 14:33 [PATCH v2] ARM: boards: protonic-imx6: Re-introduce generic boot target board string Robin van der Gracht
2025-04-01 5:36 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox