aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2023-10-18 11:33:06 -0700
committerFabio Estevam <festevam@gmail.com>2023-12-12 09:21:48 -0300
commitad3a4f91e7ca7002d71920417ca529e7e8e7460a (patch)
tree563a24696156e8677399b28949dc70f1a8402899
parent3d91bc90de44861b719e9f0d73fd80d0037f5d46 (diff)
downloadu-boot-ad3a4f91e7ca7002d71920417ca529e7e8e7460a.zip
u-boot-ad3a4f91e7ca7002d71920417ca529e7e8e7460a.tar.gz
u-boot-ad3a4f91e7ca7002d71920417ca529e7e8e7460a.tar.bz2
board: gateworks: venice: add fixup for GW73xx-F+
GW73xx-F board revision switched back to the original PCIe switch due to part availability. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
-rw-r--r--board/gateworks/venice/venice.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/gateworks/venice/venice.c b/board/gateworks/venice/venice.c
index a39ae58..0902a1d 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@0,0/pcie@1,0/pcie@2,4/pcie@6.0
* to: pcie@0,0/pcie@1,0/pcie@2,3/pcie@5.0
*/