[PATCH v1 1/6] ARM: boards: protonic-imx6: Run usb boot entry instead of bare device

Oleksij Rempel o.rempel at pengutronix.de
Wed Aug 18 05:19:40 PDT 2021


From: Robin van der Gracht <robin at protonic.nl>

There is a usb boot script in the enviromnent. Bare device boots work well
with bootspec but we decided to not use that anymore.

Signed-off-by: Robin van der Gracht <robin at protonic.nl>
Signed-off-by: Oleksij Rempel <o.rempel at pengutronix.de>
---
 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 6eb31a4bc4..e7938ac0fd 100644
--- a/arch/arm/boards/protonic-imx6/board.c
+++ b/arch/arm/boards/protonic-imx6/board.c
@@ -340,7 +340,7 @@ static void prt_imx6_check_usb_boot(void *data)
 
 	second_word++;
 	if (strncmp(second_word, "usb", 3) == 0) {
-		bootsrc = usbdisk;
+		bootsrc = "usb";
 	} else if (strncmp(second_word, "recovery", 8) == 0) {
 		bootsrc = "recovery";
 	} else {
-- 
2.30.2




More information about the barebox mailing list