diff options
author | Simon Glass <sjg@chromium.org> | 2016-09-24 18:20:10 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-06 15:07:35 -0400 |
commit | ea022a3775a723a90ee91dfa100ac95a5379e93d (patch) | |
tree | 972265801e6c27bc402680afe4571b3234bbbe05 /include | |
parent | 139db7af4eff4eabdcc104c5c5687ab9fe64ca9a (diff) | |
download | u-boot-ea022a3775a723a90ee91dfa100ac95a5379e93d.tar.gz u-boot-ea022a3775a723a90ee91dfa100ac95a5379e93d.tar.bz2 u-boot-ea022a3775a723a90ee91dfa100ac95a5379e93d.zip |
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')
-rw-r--r-- | include/spi_flash.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/spi_flash.h b/include/spi_flash.h index d0ce9e721a..be2fe3f84c 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_ */ |