spi: remove unused prototype

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2018-12-18 20:33:53 -05:00
parent f4d2c46eb3
commit 4e411774c0

3
spi.c
View File

@ -400,8 +400,6 @@ struct spi_id spiId(struct ff_spi *spi) {
return id; return id;
} }
uint32_t spiJedecId(struct ff_spi *spi);
int spiSetType(struct ff_spi *spi, enum spi_type type) { int spiSetType(struct ff_spi *spi, enum spi_type type) {
if (spi->type == type) if (spi->type == type)
@ -599,7 +597,6 @@ int spiInit(struct ff_spi *spi) {
spi->state = SS_UNCONFIGURED; spi->state = SS_UNCONFIGURED;
spi->type = ST_UNCONFIGURED; spi->type = ST_UNCONFIGURED;
// Reset the SPI flash, which will return it to SPI mode even // Reset the SPI flash, which will return it to SPI mode even
// if it's in QPI mode. // if it's in QPI mode.
spiReset(spi); spiReset(spi);