summaryrefslogtreecommitdiffstats
path: root/board/gateworks/gw_ventana/ventana_eeprom.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/gateworks/gw_ventana/ventana_eeprom.h')
-rw-r--r--board/gateworks/gw_ventana/ventana_eeprom.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/gateworks/gw_ventana/ventana_eeprom.h b/board/gateworks/gw_ventana/ventana_eeprom.h
index 5b065bea4e..d64b9107c6 100644
--- a/board/gateworks/gw_ventana/ventana_eeprom.h
+++ b/board/gateworks/gw_ventana/ventana_eeprom.h
@@ -110,8 +110,19 @@ enum {
GW53xx,
GW54xx,
GW_UNKNOWN,
+ GW_BADCRC,
};
+/* config items */
+struct ventana_eeprom_config {
+ const char *name; /* name of item */
+ const char *dtalias; /* name of dt node to remove if not set */
+ int bit; /* bit within config */
+};
+
+extern struct ventana_eeprom_config econfig[];
+extern struct ventana_board_info ventana_info;
+
int read_eeprom(int bus, struct ventana_board_info *);
#endif
OpenPOWER on IntegriCloud