summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2015-01-05 11:06:29 -0800
committerKyösti Mälkki <kyosti.malkki@gmail.com>2015-01-09 05:32:36 +0100
commit199b581f5c24e46c9b1c4ebc7a41d0b0d218918b (patch)
tree83d475a0876bf1e22ec91e6d07bb4abbf120207a /src/include
parent9c2aa697258c2aaaa9d4956ff5c7986036aff977 (diff)
Drop duplicate API from spi_flash.h
This convenience API was never used. Change-Id: If2a99967e7f8c02e9029f7766aeef1e1a1f3dd16 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/8108 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/spi_flash.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/include/spi_flash.h b/src/include/spi_flash.h
index 7e430d0788..d697d8f8ae 100644
--- a/src/include/spi_flash.h
+++ b/src/include/spi_flash.h
@@ -58,22 +58,4 @@ struct spi_flash {
struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs);
-static inline int spi_flash_read(struct spi_flash *flash, u32 offset,
- size_t len, void *buf)
-{
- return flash->read(flash, offset, len, buf);
-}
-
-static inline int spi_flash_write(struct spi_flash *flash, u32 offset,
- size_t len, const void *buf)
-{
- return flash->write(flash, offset, len, buf);
-}
-
-static inline int spi_flash_erase(struct spi_flash *flash, u32 offset,
- size_t len)
-{
- return flash->erase(flash, offset, len);
-}
-
#endif /* _SPI_FLASH_H_ */