summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/spi_flash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/spi_flash.h b/src/include/spi_flash.h
index ffa66db561..9acff3b104 100644
--- a/src/include/spi_flash.h
+++ b/src/include/spi_flash.h
@@ -91,6 +91,8 @@ struct spi_flash_protection_ops {
};
+struct spi_flash_part_id;
+
struct spi_flash {
struct spi_slave spi;
u8 vendor;
@@ -113,6 +115,7 @@ struct spi_flash {
const struct spi_flash_ops *ops;
/* If !NULL all protection callbacks exist. */
const struct spi_flash_protection_ops *prot_ops;
+ const struct spi_flash_part_id *part;
};
void lb_spi_flash(struct lb_header *header);