diff options
author | Tim Harvey <tharvey@gateworks.com> | 2019-02-04 13:10:58 -0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-02-15 22:01:15 +0100 |
commit | 9cdb1c6e995c53afeb01fdb6d529d60f725fb1f2 (patch) | |
tree | f1b73c99db4cf07159367808aa80d1ad91f70bb6 /board/gateworks/gw_ventana/eeprom.c | |
parent | 2285094ea91f361abdfc764826957ec99f1c6f23 (diff) |
imx: ventana: add support for GW5901/GW5902
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board/gateworks/gw_ventana/eeprom.c')
-rw-r--r-- | board/gateworks/gw_ventana/eeprom.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/board/gateworks/gw_ventana/eeprom.c b/board/gateworks/gw_ventana/eeprom.c index bcd634920c..ee227320c0 100644 --- a/board/gateworks/gw_ventana/eeprom.c +++ b/board/gateworks/gw_ventana/eeprom.c @@ -97,7 +97,11 @@ read_eeprom(int bus, struct ventana_board_info *info) type = GW560x; break; case '9': - if (info->model[4] == '0' && info->model[5] == '3') + if (info->model[4] == '0' && info->model[5] == '1') + type = GW5901; + else if (info->model[4] == '0' && info->model[5] == '2') + type = GW5902; + else if (info->model[4] == '0' && info->model[5] == '3') type = GW5903; else if (info->model[4] == '0' && info->model[5] == '4') type = GW5904; |