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 <thar...@gateworks.com>
---
 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 abe25256e668..351d18886f14 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.25.1

Reply via email to