From 32b1127397a305ae0bc0a55ed9c4421fb570ef78 Mon Sep 17 00:00:00 2001 From: Christian Riesch Date: Fri, 9 Dec 2011 09:47:35 +0000 Subject: sf: Add spi_boot() to allow booting from SPI flash in an SPL Signed-off-by: Christian Riesch Cc: Heiko Schocher Cc: Mike Frysinger Cc: Scott Wood Acked-by: Mike Frysinger --- include/spi_flash.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/spi_flash.h') diff --git a/include/spi_flash.h b/include/spi_flash.h index 2671ab5..9da9062 100644 --- a/include/spi_flash.h +++ b/include/spi_flash.h @@ -25,6 +25,7 @@ #include #include +#include struct spi_flash { struct spi_slave *spi; @@ -68,4 +69,6 @@ static inline int spi_flash_erase(struct spi_flash *flash, u32 offset, return flash->erase(flash, offset, len); } +void spi_boot(void) __noreturn; + #endif /* _SPI_FLASH_H_ */ -- cgit v1.1