diff options
author | Mike Nicholson <mike.nicholson@multitech.com> | 2019-01-10 16:15:05 -0600 |
---|---|---|
committer | Mike Nicholson <mike.nicholson@multitech.com> | 2019-01-10 16:15:05 -0600 |
commit | 79d8f8205de24c6de5871862cb6249ecfa8cdaf5 (patch) | |
tree | f1eb31b6e417d8aa5a88c5a8191b749ada579029 /mtac.h | |
parent | 2d2569463ebb98d2e672dd08adc3cc93a924f958 (diff) | |
download | mtac-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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_ */ |