From a59b3cd03539817dfbbeff5d47b9e4b8d6e6fe01 Mon Sep 17 00:00:00 2001
From: Tim Harvey <tharvey@gateworks.com>
Date: Fri, 9 Jun 2023 09:51:46 -0700
Subject: [PATCH] board: gateworks: venice: assume emmc device for USB boot

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

Signed-off-by: Tim Harvey <tharvey@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 803582c55b..3067480e6a 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.39.5