[PATCH] board: gateworks: venice: add fixup for GW73xx-F+

Tim Harvey tharvey at gateworks.com
Wed Oct 18 20:33:06 CEST 2023


GW73xx-F board revision switched back to the original PCIe switch due to
part availability.

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

diff --git a/board/gateworks/venice/venice.c b/board/gateworks/venice/venice.c
index a39ae58c8a09..0902a1da3e26 100644
--- a/board/gateworks/venice/venice.c
+++ b/board/gateworks/venice/venice.c
@@ -238,12 +238,12 @@ int ft_board_setup(void *fdt, struct bd_info *bd)
 	if (!strncmp(base_model, "GW73", 4)) {
 		pcbrev = get_pcb_rev(base_model);
 
-		if (pcbrev > 'B') {
+		if (pcbrev > 'B' && pcbrev < 'E') {
 			printf("adjusting dt for %s\n", base_model);
 
 			/*
-			 * revC replaced PCIe 5-port switch with 4-port
-			 * which changed ethernet1 PCIe GbE
+			 * revC/D/E has PCIe 4-port switch which changes
+			 * ethernet1 PCIe GbE:
 			 * from: pcie at 0,0/pcie at 1,0/pcie at 2,4/pcie at 6.0
 			 *   to: pcie at 0,0/pcie at 1,0/pcie at 2,3/pcie at 5.0
 			 */
-- 
2.25.1



More information about the U-Boot mailing list