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>
This commit is contained in:
@@ -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_ */
|
||||
|
Reference in New Issue
Block a user