aboutsummaryrefslogtreecommitdiff
path: root/include/spi_flash.h
diff options
context:
space:
mode:
authorSimon Glass2016-09-24 18:20:10 -0600
committerTom Rini2016-10-06 15:07:35 -0400
commitea022a3775a723a90ee91dfa100ac95a5379e93d (patch)
tree972265801e6c27bc402680afe4571b3234bbbe05 /include/spi_flash.h
parent139db7af4eff4eabdcc104c5c5687ab9fe64ca9a (diff)
spi: Move freescale-specific code into a private header
At present there are two SPI functions only used by freescale which are defined in the spi_flash.h header. One function name matches an existing generic SPL function. Move these into a private header to avoid confusion. Arcturus looks like it does not actually support SPI, so drop the SPI code from that board. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/spi_flash.h')
-rw-r--r--include/spi_flash.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/spi_flash.h b/include/spi_flash.h
index d0ce9e721ad..be2fe3f84cb 100644
--- a/include/spi_flash.h
+++ b/include/spi_flash.h
@@ -239,7 +239,4 @@ static inline int spi_flash_protect(struct spi_flash *flash, u32 ofs, u32 len,
return flash->flash_unlock(flash, ofs, len);
}
-void spi_boot(void) __noreturn;
-void spi_spl_load_image(uint32_t offs, unsigned int size, void *vdst);
-
#endif /* _SPI_FLASH_H_ */