summaryrefslogtreecommitdiffstats
path: root/spi25.c
diff options
context:
space:
mode:
authorMattias Mattsson <vitplister@gmail.com>2010-09-15 23:31:03 +0000
committerMattias Mattsson <vitplister@gmail.com>2010-09-15 23:31:03 +0000
commit6eabe282fe54a69df92f0e8cf3c251c9165202eb (patch)
treeec68d59a682c8591e4a5cb9a78998ac86d18d924 /spi25.c
parent85835d891d87981cbd0859b03d814f43eaff2826 (diff)
downloadast2050-flashrom-6eabe282fe54a69df92f0e8cf3c251c9165202eb.zip
ast2050-flashrom-6eabe282fe54a69df92f0e8cf3c251c9165202eb.tar.gz
This patch changes the prefix of chip constant #defines in the following way
AM_* -> AMD_AM* AT_* -> ATMEL_AT* EN_* -> EON_EN* HY_* -> HYUNDAI_HY* MBM* -> FUJITSU_MBM* MX_ID -> MACRONIX_ID MX_* -> MACRONIX_MX* PMC_* -> PMC_PM* SST_* -> SST_SST* It leaves the Intel #defines alone because there is another pending patch for that: http://patchwork.coreboot.org/patch/1937/ Some background discussion here: http://www.flashrom.org/pipermail/flashrom/2010-July/004059.html Corresponding to flashrom svn r1175. Signed-off-by: Mattias Mattsson <vitplister@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'spi25.c')
-rw-r--r--spi25.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spi25.c b/spi25.c
index 16d162a..9cab10a 100644
--- a/spi25.c
+++ b/spi25.c
@@ -530,7 +530,7 @@ void spi_prettyprint_status_register(struct flashchip *flash)
((flash->model_id & 0xff00) == 0x2500))
spi_prettyprint_status_register_st_m25p(status);
break;
- case MX_ID:
+ case MACRONIX_ID:
if ((flash->model_id & 0xff00) == 0x2000)
spi_prettyprint_status_register_st_m25p(status);
break;
OpenPOWER on IntegriCloud