summaryrefslogtreecommitdiffstats
path: root/wbsio_spi.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2011-09-18 00:41:33 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2011-09-18 00:41:33 +0000
commitd196e7c1387b30ac35e7b0f605c79823ac9b5ec9 (patch)
treee0f40df44cb94c62f150a84080bf7171f8623aa8 /wbsio_spi.c
parent75da80c17bbb992ce2b60ae15ef2fba7d23bfd8e (diff)
downloadflashrom-d196e7c1387b30ac35e7b0f605c79823ac9b5ec9.tar.gz
flashrom-d196e7c1387b30ac35e7b0f605c79823ac9b5ec9.tar.bz2
flashrom-d196e7c1387b30ac35e7b0f605c79823ac9b5ec9.zip
Unsignify lengths and addresses in chip functions and structs
Corresponding to flashrom svn r1448. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'wbsio_spi.c')
-rw-r--r--wbsio_spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wbsio_spi.c b/wbsio_spi.c
index 851c87f0c..bc31e990a 100644
--- a/wbsio_spi.c
+++ b/wbsio_spi.c
@@ -62,7 +62,7 @@ done:
static int wbsio_spi_send_command(unsigned int writecnt, unsigned int readcnt,
const unsigned char *writearr, unsigned char *readarr);
-static int wbsio_spi_read(struct flashchip *flash, uint8_t *buf, int start, int len);
+static int wbsio_spi_read(struct flashchip *flash, uint8_t *buf, unsigned int start, unsigned int len);
static const struct spi_programmer spi_programmer_wbsio = {
.type = SPI_CONTROLLER_WBSIO,
@@ -194,7 +194,7 @@ static int wbsio_spi_send_command(unsigned int writecnt, unsigned int readcnt,
return 0;
}
-static int wbsio_spi_read(struct flashchip *flash, uint8_t *buf, int start, int len)
+static int wbsio_spi_read(struct flashchip *flash, uint8_t *buf, unsigned int start, unsigned int len)
{
return read_memmapped(flash, buf, start, len);
}