projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
[oweals/u-boot.git]
/
board
/
gateworks
/
gw_ventana
/
eeprom.c
diff --git
a/board/gateworks/gw_ventana/eeprom.c
b/board/gateworks/gw_ventana/eeprom.c
index ab3bab847a52d4c92094db7e7d6beb8daf8cc9f9..ba159696b43cf51e85bdd71414eb1faa61fc2753 100644
(file)
--- 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 = 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;
default:
printf("EEPROM: Unknown model in EEPROM: %s\n", info->model);
type = GW_UNKNOWN;