]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
board: venice: use baseboard model for family
authorTim Harvey <tharvey@gateworks.com>
Fri, 23 May 2025 17:20:11 +0000 (10:20 -0700)
committerFabio Estevam <festevam@gmail.com>
Fri, 30 May 2025 22:10:56 +0000 (19:10 -0300)
The venice family of baseboards which is normally GW7xxx
is being expanded to GW8xxx so we need to use the baseboard
number instead of the som.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
board/gateworks/venice/eeprom.c

index abe25256e668ee79a23c63e9cdd3c42ef2add0b6..351d18886f147b614f1dd59226d28bf3d5d38b1f 100644 (file)
@@ -322,7 +322,7 @@ int venice_eeprom_init(int quiet)
        /* create model strings */
        if (base_info.model[0]) {
                sprintf(venice_model, "GW%c%c%c%c-%c%c-",
-                       som_info.model[2], /* family */
+                       base_info.model[2], /* family */
                        base_info.model[3], /* baseboard */
                        base_info.model[4], base_info.model[5], /* subload of baseboard */
                        som_info.model[4], som_info.model[5]); /* last 2digits of SOM */