[PATCH] board: gateworks: venice: assume emmc device for USB boot

Tim Harvey tharvey at gateworks.com
Fri Jun 9 18:51:46 CEST 2023


When booting from USB (SDP) setup firmware-update environment
for emmc device.

Signed-off-by: Tim Harvey <tharvey at gateworks.com>
---
 board/gateworks/venice/venice.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/gateworks/venice/venice.c b/board/gateworks/venice/venice.c
index 803582c55b99..3067480e6ac7 100644
--- a/board/gateworks/venice/venice.c
+++ b/board/gateworks/venice/venice.c
@@ -155,6 +155,7 @@ int board_late_init(void)
 		bootdev = 2;
 		break;
 	default:
+		bootdev = 2; /* assume SDHC3 (eMMC) if booting over SDP */
 		break;
 	}
 	if (bootdev != -1)
-- 
2.25.1



More information about the U-Boot mailing list