mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
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>
This commit is contained in:
parent
0720292bd3
commit
f43e6428db
4
spi.c
4
spi.c
@ -213,6 +213,10 @@ void spi_prettyprint_status_register(struct flashchip *flash)
|
|||||||
printf_debug("Chip status register is %02x\n", status);
|
printf_debug("Chip status register is %02x\n", status);
|
||||||
switch (flash->manufacture_id) {
|
switch (flash->manufacture_id) {
|
||||||
case ST_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:
|
case MX_ID:
|
||||||
if ((flash->model_id & 0xff00) == 0x2000)
|
if ((flash->model_id & 0xff00) == 0x2000)
|
||||||
spi_prettyprint_status_register_st_m25p(status);
|
spi_prettyprint_status_register_st_m25p(status);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user