[coreboot] r3323 - trunk/util/flashrom
svn at coreboot.org
svn at coreboot.org
Fri May 16 00:32:09 CEST 2008
Author: hailfinger
Date: 2008-05-16 00:32:08 +0200 (Fri, 16 May 2008)
New Revision: 3323
Modified:
trunk/util/flashrom/spi.c
Log:
Print detailed status register information for SST25VF series flash.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Acked-by: Peter Stuge <peter at stuge.se>
Modified: trunk/util/flashrom/spi.c
===================================================================
--- trunk/util/flashrom/spi.c 2008-05-15 13:44:33 UTC (rev 3322)
+++ trunk/util/flashrom/spi.c 2008-05-15 22:32:08 UTC (rev 3323)
@@ -213,6 +213,10 @@
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);
More information about the coreboot
mailing list