diff options
Diffstat (limited to 'src/include/spi_flash.h')
-rw-r--r-- | src/include/spi_flash.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/spi_flash.h b/src/include/spi_flash.h index 8b8b0c54fe..cbb5919332 100644 --- a/src/include/spi_flash.h +++ b/src/include/spi_flash.h @@ -27,6 +27,7 @@ #include <stddef.h> #include <console/console.h> #include <spi-generic.h> +#include <boot/coreboot_tables.h> struct spi_flash { struct spi_slave *spi; @@ -37,6 +38,8 @@ struct spi_flash { u32 sector_size; + u8 erase_cmd; + int (*read)(struct spi_flash *flash, u32 offset, size_t len, void *buf); int (*write)(struct spi_flash *flash, u32 offset, @@ -47,4 +50,6 @@ struct spi_flash { struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs); +void lb_spi_flash(struct lb_header *header); + #endif /* _SPI_FLASH_H_ */ |