libanyio: measure erase, write and verify time more precisely

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
libanyio: don't SEGV when trying to access pci or epp boards without sudo

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
libanyio: don't try to reset board if --program is not supported

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
libanyio: reset eth boards through board struct interface not directly

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
libanyio: add reload function pointer to board struct and init it only when board support it

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
epp: remove debug printf

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
epp: remove unused function

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
libanyio: factor out ethernet and serial transport level details from lbp16

you must use lbp16_init with proper board type to setup SEND and RECV function pointers in lbp16.c
then you must call lbp16_send_packet and lbp16_recv_packet which will point to current transport layer functions

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
libanyio: remove spilbp as only spi_boards use it and it's too simple to be standalone

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>