mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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:
parent
139db7af4e
commit
ea022a3775
12 changed files with 41 additions and 25 deletions
|
@ -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_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue