mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 06:01:16 +02:00
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>
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user