ARM: boards: protonic-imx6: Add prt-usb as fallback preferred boot target
Subsystems (2)
PATCH 1/1 ARM: boards: protonic-imx6: Add prt-usb as fallback preferred boot target
If i.e. the bootchooser target fails because of missing or broken follow-up software, instead of doing nothing, we try to boot from usb.
Signed-off-by Robin van der Gracht <[email protected]>
--- arch/arm/boards/protonic-imx6/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boards/protonic-imx6/board.c +1 -1
@@ -496,7 +496,7 @@ static int prt_imx6_env_init(struct prt_imx6_priv *priv)if (!priv->no_usb_check) boot_targets =xasprintf ("prt-usb %s" , bootsrc);else - boot_targets =xstrdup (bootsrc); + boot_targets =xasprintf ("%s prt-usb" , bootsrc); ret =setenv ("global.boot.default" , boot_targets);free (boot_targets);
Signature · 1 line
2.43.0
Quoted 4 lines · Robin van der Gracht
If i.e. the bootchooser target fails because of missing or broken follow-up software, instead of doing nothing, we try to boot from usb.
Applied, thanks!
[1/1] ARM: boards: protonic-imx6: Add prt-usb as fallback preferred boot target
https://git.pengutronix.de/cgit/barebox/commit/?id=a30704b88a29 (link may not be stable)
Best regards,
Signature · 1 line
Sascha Hauer <[email protected]>