diff options
author | Tom Rini <trini@konsulko.com> | 2015-04-28 12:15:13 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-04-28 12:15:13 -0400 |
commit | e536ab8849b2b4f6d68bbc8e1d1f9bc033db06bd (patch) | |
tree | e5e3a3d5a0bee8a1d9a74deb3990455c40ded6b1 /board/gateworks/gw_ventana/eeprom.c | |
parent | cc555bd4f40a652471df4a3621d45ee57df0ca11 (diff) | |
parent | 205d58699b157df75f1aa0b363ea9c21add21a0c (diff) |
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
Diffstat (limited to 'board/gateworks/gw_ventana/eeprom.c')
-rw-r--r-- | board/gateworks/gw_ventana/eeprom.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/board/gateworks/gw_ventana/eeprom.c b/board/gateworks/gw_ventana/eeprom.c index ab3bab847a..ba159696b4 100644 --- a/board/gateworks/gw_ventana/eeprom.c +++ b/board/gateworks/gw_ventana/eeprom.c @@ -81,8 +81,14 @@ read_eeprom(int bus, struct ventana_board_info *info) type = GW54xx; break; case '5': - type = GW552x; - break; + if (info->model[4] == '1') { + type = GW551x; + break; + } else if (info->model[4] == '2') { + type = GW552x; + break; + } + /* fall through */ default: printf("EEPROM: Unknown model in EEPROM: %s\n", info->model); type = GW_UNKNOWN; |