diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2012-06-06 13:40:12 -0700 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2012-07-24 02:37:39 +0200 |
commit | 5f3aca39d33183ff7d74116e6d2ef2b164fdea23 (patch) | |
tree | 2afddfc97149062711c2df6e47f63da8b9e089a1 /src/include/spi.h | |
parent | 00671887398a8266f65278318e570cb2a0cf079c (diff) | |
download | coreboot-5f3aca39d33183ff7d74116e6d2ef2b164fdea23.tar.xz |
SPI flash layer: remove unused function spi_flash_free()
We don't ever free memory in coreboot, hence drop spi_flash_free() and
spi_free_slave()
Change-Id: I0ca3f78574ceb4516e7d33c06ab1a58abfb3b0ec
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/1273
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/include/spi.h')
-rw-r--r-- | src/include/spi.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/include/spi.h b/src/include/spi.h index bb84258137..bee851ea97 100644 --- a/src/include/spi.h +++ b/src/include/spi.h @@ -84,13 +84,6 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs, unsigned int max_hz, unsigned int mode); /*----------------------------------------------------------------------- - * Free any memory associated with a SPI slave. - * - * slave: The SPI slave - */ -void spi_free_slave(struct spi_slave *slave); - -/*----------------------------------------------------------------------- * Claim the bus and prepare it for communication with a given slave. * * This must be called before doing any transfers with a SPI slave. It |