[coreboot] [PATCH] flashrom: SST25VF status register printing
Peter Stuge
peter at stuge.se
Fri May 16 00:01:58 CEST 2008
On Thu, May 15, 2008 at 04:37:40PM +0200, Carl-Daniel Hailfinger wrote:
> Print detailed status register information for SST25VF series flash.
>
> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
>
> Index: flashrom-ron/spi.c
> ===================================================================
> --- flashrom-ron/spi.c (Revision 3321)
> +++ flashrom-ron/spi.c (Arbeitskopie)
> @@ -214,7 +214,8 @@
> switch (flash->manufacture_id) {
> case ST_ID:
> case MX_ID:
> - if ((flash->model_id & 0xff00) == 0x2000)
> + if (((flash->model_id & 0xff00) == 0x2000) ||
> + ((flash->model_id & 0xff00) == 0x2500))
> spi_prettyprint_status_register_st_m25p(status);
> break;
> case SST_ID:
Note this also prints for all MX 20 and 25 flash. If that was
intended;
Acked-by: Peter Stuge <peter at stuge.se>
More information about the coreboot
mailing list