mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
driver: Add support of image load for MMC & SPI in SPL
Add support of loading image, binary for MMC and SPI during SPL boot. Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
This commit is contained in:
parent
e278ddcd7f
commit
1eaa742d85
4 changed files with 42 additions and 0 deletions
|
@ -158,5 +158,6 @@ static inline int spi_flash_erase(struct spi_flash *flash, u32 offset,
|
|||
}
|
||||
|
||||
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