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>
This commit is contained in:
Stefan Tauner 2018-08-26 04:26:04 +02:00 committed by Patrick Georgi
commit 630a418fea
2 changed files with 6 additions and 1 deletions

View file

@ -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;