git.openpandora.org
/
pandora-u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sf: Add spi_boot() to allow booting from SPI flash in an SPL
[pandora-u-boot.git]
/
include
/
spi_flash.h
diff --git
a/include/spi_flash.h
b/include/spi_flash.h
index
2671ab5
..
9da9062
100644
(file)
--- a/
include/spi_flash.h
+++ b/
include/spi_flash.h
@@
-25,6
+25,7
@@
#include <spi.h>
#include <linux/types.h>
+#include <linux/compiler.h>
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_ */