From ea04f7261ef84eb1b5cecb60e5e45c75c760626c Mon Sep 17 00:00:00 2001 From: Tim Harvey Date: Fri, 23 May 2025 10:20:11 -0700 Subject: [PATCH] board: venice: use baseboard model for family 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 Reviewed-by: Peng Fan --- board/gateworks/venice/eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/gateworks/venice/eeprom.c b/board/gateworks/venice/eeprom.c index abe25256e66..351d18886f1 100644 --- a/board/gateworks/venice/eeprom.c +++ b/board/gateworks/venice/eeprom.c @@ -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 */ -- 2.47.2