summaryrefslogtreecommitdiff
path: root/mtac.h
diff options
context:
space:
mode:
authorMike Nicholson <mike.nicholson@multitech.com>2019-01-10 16:15:05 -0600
committerMike Nicholson <mike.nicholson@multitech.com>2019-01-10 16:15:05 -0600
commit79d8f8205de24c6de5871862cb6249ecfa8cdaf5 (patch)
treef1eb31b6e417d8aa5a88c5a8191b749ada579029 /mtac.h
parent2d2569463ebb98d2e672dd08adc3cc93a924f958 (diff)
downloadmtac-79d8f8205de24c6de5871862cb6249ecfa8cdaf5.tar.gz
mtac-79d8f8205de24c6de5871862cb6249ecfa8cdaf5.tar.bz2
mtac-79d8f8205de24c6de5871862cb6249ecfa8cdaf5.zip
Update header to include gpio defs for mtac cards, extern EEPROM4.0.1
Diffstat (limited to 'mtac.h')
-rw-r--r--mtac.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mtac.h b/mtac.h
index 477dea4..1f49651 100644
--- a/mtac.h
+++ b/mtac.h
@@ -1,6 +1,6 @@
#ifndef IO_MODULE_MTAC_H_
#define IO_MODULE_MTAC_H_
-
+#include <linux/at91gpio.h>
// NUM_AP should be defined from the board code
// it should be set to the value of CONFIG_MTS_NUM_ACCESSORY_PORTS
// arch/arm/mach-at91/board-dt-sam9.c
@@ -89,4 +89,6 @@ extern void mtac_clear_port_pins(int port_index);
extern int mtac_find(void(*set_info)(struct ap_info* info), const char *target_product_id);
extern struct ap_info *mtac_port_info[];
extern void mtac_free(const char * product_id, bool (* setup)(enum ap port), const char *link);
+#define MTS_AP_EEPROM_SIZE (512)
+extern uint8_t mts_ap_eeprom[NUM_AP][MTS_AP_EEPROM_SIZE];
#endif /* IO_MODULE_MTAC_H_ */