Jeff Epler
676a63d241
WIP: match board with bitfile filename or userid
2016-11-21 21:35:05 -06:00
Jeff Epler
934769e0cc
Fix problems regarding function prototypes
...
In C, you can call functions which do not have prototypes
available; however, if the implied prototype doesn't match
the actual prototype, the behavior is undefined. These changes
make mesaflash compile cleanly even when these prototype-checking
compiler flags are enabled (and enables them by default):
-Werror=missing-prototypes
-Werror=strict-prototypes
-Werror=implicit-function-declaration
2016-11-21 21:09:24 -06:00
Joseph Heath
f598fc1472
fall back to 8-bit word if 32-bit per word set fails. Recognize fallback and reorder buffer to compensate for int to byte change.
2016-10-15 15:43:37 -07:00
Jeff Epler
b4137e08c5
spi: print accurate address where we looked for cookie
...
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-03 07:59:43 -05:00
joe
2e616010c3
fixup implicit function declaration warnings
2015-10-06 18:25:40 -07:00
joe
70d4e2e360
‘return’ with no value, in function returning non-void
2015-10-06 17:40:49 -07:00
Michael Geszkiewicz
3106d0df2b
anyio: refactor: unification of functions arguments in hostmot2 access interface
...
factor out common board structure initialisations to function
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2015-03-09 01:01:03 +01:00
Michael Geszkiewicz
f0018a4d35
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>
2014-09-13 00:25:11 +02:00
Jeff Epler
c1e47dbdea
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
2014-09-11 19:00:44 -05:00
Michael Geszkiewicz
c431de4ff9
libanyio: introduce types.h to hold global types definitions
...
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2014-09-07 23:00:03 +02:00
Michael Geszkiewicz
bf2de2cc6d
refactor: extract board definitions to boards.h to remove including main library header file in all submodules
...
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2014-05-09 13:35:23 +02:00
Michael Geszkiewicz
6dac0e0747
Add GPL licence in all source files
...
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2014-02-24 04:37:08 +01:00
Michael Geszkiewicz
fcffd8617f
Add library cleanup at exit
...
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2014-01-30 03:40:58 +01:00
Michael Geszkiewicz
848e890685
Add skeleton files for support spi transport for connecting to mesanet boards
...
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2013-11-21 04:57:31 +01:00