libanyio: introduce types.h to hold global types definitions

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
libanyio: check ICAP cookie before attempting to reload firmware on pci cards

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
libanyio: fix FPGA names for few boards

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
add lost types.h to repo

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
change mesaflash main source file name to more reflecting it's content

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
mesaflash: warn user if he won't specify --device or --info along with other commands

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
libanyio: print bit file details only in verbose mode

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
libanyio: print config flash erasing, writing and verifying time in verbose mode

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
libanyio: Reduce overhead of verify operation (thanks jepler)

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
libanyio: use default device address (0x378 for epp and 192.168.1.121 for eth) if --addr option is missing in command line

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
SPI: support SPI boards on Linux

This properly programs and verifies the eeprom on my SPI 7i90

typical commandline:
    mesaflash --device 7I90 --addr /dev/spidev1.0 --spi \
	--verify 7i90_spi_svst4_8.bit
spi: go about 3x faster to write/verify, but layer violations galore

.. and sensitivity to Linux <=> hm2 SPI speed (works at 8MHz, not at 24MHz).
Write is now ~7.8s, verify ~6.0s