summaryrefslogtreecommitdiffstats
path: root/board/gateworks/gw_ventana/eeprom.c
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2019-02-04 13:10:58 -0800
committerStefano Babic <sbabic@denx.de>2019-02-15 22:01:15 +0100
commit9cdb1c6e995c53afeb01fdb6d529d60f725fb1f2 (patch)
treef1b73c99db4cf07159367808aa80d1ad91f70bb6 /board/gateworks/gw_ventana/eeprom.c
parent2285094ea91f361abdfc764826957ec99f1c6f23 (diff)
downloadu-boot-9cdb1c6e995c53afeb01fdb6d529d60f725fb1f2.tar.gz
u-boot-9cdb1c6e995c53afeb01fdb6d529d60f725fb1f2.tar.xz
u-boot-9cdb1c6e995c53afeb01fdb6d529d60f725fb1f2.zip
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.c6
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;