diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2008-05-15 22:32:08 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2008-05-15 22:32:08 +0000 |
commit | 32d49b237a03933048f786f8fe9f8a532d022ccf (patch) | |
tree | b2fbb843c68ddc71269065bf3cb109d43463a765 /spi.c | |
parent | 35cc651786217ebed314c5854591620403d354e6 (diff) | |
download | flashrom-32d49b237a03933048f786f8fe9f8a532d022ccf.zip flashrom-32d49b237a03933048f786f8fe9f8a532d022ccf.tar.gz |
Print detailed status register information for SST25VF series flash
Corresponding to flashrom svn r237 and coreboot v2 svn r3323.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'spi.c')
-rw-r--r-- | spi.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -213,6 +213,10 @@ void spi_prettyprint_status_register(struct flashchip *flash) printf_debug("Chip status register is %02x\n", status); switch (flash->manufacture_id) { case ST_ID: + if (((flash->model_id & 0xff00) == 0x2000) || + ((flash->model_id & 0xff00) == 0x2500)) + spi_prettyprint_status_register_st_m25p(status); + break; case MX_ID: if ((flash->model_id & 0xff00) == 0x2000) spi_prettyprint_status_register_st_m25p(status); |