summaryrefslogtreecommitdiffstats
path: root/sb600spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sb600spi.c')
-rw-r--r--sb600spi.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sb600spi.c b/sb600spi.c
index 9d82b47..c3d7710 100644
--- a/sb600spi.c
+++ b/sb600spi.c
@@ -88,8 +88,10 @@ static void execute_command(void)
;
}
-static int sb600_spi_send_command(unsigned int writecnt, unsigned int readcnt,
- const unsigned char *writearr, unsigned char *readarr)
+static int sb600_spi_send_command(struct flashctx *flash, unsigned int writecnt,
+ unsigned int readcnt,
+ const unsigned char *writearr,
+ unsigned char *readarr)
{
int count;
/* First byte is cmd which can not being sent through FIFO. */
OpenPOWER on IntegriCloud