summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/spi_flash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/spi_flash.h b/src/include/spi_flash.h
index 3865a53dcc..19df269cb0 100644
--- a/src/include/spi_flash.h
+++ b/src/include/spi_flash.h
@@ -42,6 +42,7 @@ struct spi_flash {
u8 status_cmd;
+ /* All callbacks return 0 on success and != 0 on error. */
int (*read)(struct spi_flash *flash, u32 offset,
size_t len, void *buf);
int (*write)(struct spi_flash *flash, u32 offset,