From 5f3aca39d33183ff7d74116e6d2ef2b164fdea23 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 6 Jun 2012 13:40:12 -0700 Subject: 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 Reviewed-on: http://review.coreboot.org/1273 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/include/spi_flash.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/include/spi_flash.h') diff --git a/src/include/spi_flash.h b/src/include/spi_flash.h index 2a1dcd4632..b84bd96fc6 100644 --- a/src/include/spi_flash.h +++ b/src/include/spi_flash.h @@ -68,7 +68,6 @@ struct spi_flash { struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, unsigned int max_hz, unsigned int spi_mode); -void spi_flash_free(struct spi_flash *flash); static inline int spi_flash_read(struct spi_flash *flash, u32 offset, size_t len, void *buf) -- cgit v1.2.3