summaryrefslogtreecommitdiffstats
path: root/include/spi_flash.h
diff options
context:
space:
mode:
authorJagan Teki <jteki@openedev.com>2015-12-14 09:02:06 +0530
committerJagan Teki <jteki@openedev.com>2016-01-13 18:47:26 +0530
commit11c579bc9cd3ecae1d913565f7a69e7b99de302d (patch)
tree1b11bf11a99e31ee085a83d1fe89dffa489fb93d /include/spi_flash.h
parent6f3096585b6b61c115074a7e959cbe6f74d8e45d (diff)
downloadtalos-obmc-uboot-11c579bc9cd3ecae1d913565f7a69e7b99de302d.tar.gz
talos-obmc-uboot-11c579bc9cd3ecae1d913565f7a69e7b99de302d.zip
sf: Remove spi_flash_remove
Use direct call to device_remove instead of exctra spi_flash_remove defination. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'include/spi_flash.h')
-rw-r--r--include/spi_flash.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/spi_flash.h b/include/spi_flash.h
index f25b3e7819..0d26b8a5aa 100644
--- a/include/spi_flash.h
+++ b/include/spi_flash.h
@@ -170,8 +170,6 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs,
/* Compatibility function - this is the old U-Boot API */
void spi_flash_free(struct spi_flash *flash);
-int spi_flash_remove(struct udevice *flash);
-
static inline int spi_flash_read(struct spi_flash *flash, u32 offset,
size_t len, void *buf)
{
OpenPOWER on IntegriCloud