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 3edc9151d99a7b4f8e823ad2fc7f1454314de4af..ba159696b43cf51e85bdd71414eb1faa61fc2753 100644
(file)
--- a/
board/gateworks/gw_ventana/eeprom.c
+++ b/
board/gateworks/gw_ventana/eeprom.c
@@
-80,6
+80,15
@@
read_eeprom(int bus, struct ventana_board_info *info)
case '4':
type = GW54xx;
break;
case '4':
type = GW54xx;
break;
+ case '5':
+ 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;