summaryrefslogtreecommitdiffstats
path: root/src/include/spi_flash.h
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@gmx.at>2018-08-26 04:26:04 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-11-26 09:39:45 +0000
commit630a418feac478410d2f23f06cbf85000decc4d2 (patch)
treec6b3d392047e0ce8af60b296e60c36cefb602d77 /src/include/spi_flash.h
parent8f95edcf9b9dcde5d098e2ec41d1f0c9bf924aa8 (diff)
downloadcoreboot-630a418feac478410d2f23f06cbf85000decc4d2.tar.gz
coreboot-630a418feac478410d2f23f06cbf85000decc4d2.tar.bz2
coreboot-630a418feac478410d2f23f06cbf85000decc4d2.zip
drivers/spi: store detected flash IDs
Change-Id: I36de9ba6c5967dddd08a71a522cf680d6e146fae Signed-off-by: Stefan Tauner <stefan.tauner@gmx.at> Reviewed-on: https://review.coreboot.org/c/28347 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/spi_flash.h')
-rw-r--r--src/include/spi_flash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/spi_flash.h b/src/include/spi_flash.h
index 64ad7fe04a87..09908eb9f8a4 100644
--- a/src/include/spi_flash.h
+++ b/src/include/spi_flash.h
@@ -89,6 +89,8 @@ struct spi_flash_ops {
struct spi_flash {
struct spi_slave spi;
+ u8 vendor;
+ u16 model;
const char *name;
u32 size;
u32 sector_size;