]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: gateworks: venice: add fixup for GW73xx-F+
authorTim Harvey <tharvey@gateworks.com>
Wed, 18 Oct 2023 18:33:06 +0000 (11:33 -0700)
committerFabio Estevam <festevam@gmail.com>
Tue, 12 Dec 2023 12:21:48 +0000 (09:21 -0300)
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>
board/gateworks/venice/venice.c

index a39ae58c8a09570bfd352a8ea51eeb81ad264e14..0902a1da3e263ae487bc616b930e9e206ce86e06 100644 (file)
@@ -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
                         */