From 6eabe282fe54a69df92f0e8cf3c251c9165202eb Mon Sep 17 00:00:00 2001 From: Mattias Mattsson Date: Wed, 15 Sep 2010 23:31:03 +0000 Subject: 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 Acked-by: Carl-Daniel Hailfinger --- spi25.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spi25.c') 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; -- cgit v1.1