[PATCH v2] ARM: boards: protonic-imx6: Re-introduce generic boot target board string
Robin van der Gracht
robin at protonic.nl
Mon Mar 31 07:33:43 PDT 2025
This allows using a single bootable usb drive for multiple boards.
Signed-off-by: Robin van der Gracht <robin at 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
More information about the barebox
mailing list