Print detailed status register information for SST25VF series flash.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3323 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
da69582ce4
commit
8e8eb7d261
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue