summaryrefslogtreecommitdiffstats
path: root/board/gateworks/gw_ventana/ventana_eeprom.h
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2014-06-02 16:13:25 -0700
committerStefano Babic <sbabic@denx.de>2014-06-06 10:07:26 +0200
commit1badf2f47cbbb0e8aab82dfe89a4f85d8f498e5f (patch)
treed0b6ef97d08f9de1c60d434c8057655bc78adf9a /board/gateworks/gw_ventana/ventana_eeprom.h
parent5bf497e3fdba14cb39f8752ae7646d77dc49d519 (diff)
downloadtalos-obmc-uboot-1badf2f47cbbb0e8aab82dfe89a4f85d8f498e5f.tar.gz
talos-obmc-uboot-1badf2f47cbbb0e8aab82dfe89a4f85d8f498e5f.zip
imx: ventana: split read_eeprom into standalone file
Split the read_eeprom function out so that it can be shared (ie with SPL) Cc: Stefan Roese <sr@denx.de> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Andy Ng <andreas2025@gmail.com> Cc: Eric Nelson <eric.nelson@boundarydevices.com> Cc: Tapani Utriainen <tapani@technexion.com> Cc: Tom Rini <trini@ti.com> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
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 434b604542..5b065bea4e 100644
--- a/board/gateworks/gw_ventana/ventana_eeprom.h
+++ b/board/gateworks/gw_ventana/ventana_eeprom.h
@@ -103,4 +103,15 @@ enum {
EECONFIG_RES15,
};
+enum {
+ GW54proto, /* original GW5400-A prototype */
+ GW51xx,
+ GW52xx,
+ GW53xx,
+ GW54xx,
+ GW_UNKNOWN,
+};
+
+int read_eeprom(int bus, struct ventana_board_info *);
+
#endif
OpenPOWER on IntegriCloud