mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
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>
This commit is contained in:
2
spi25.c
2
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;
|
||||
|
Reference in New Issue
Block a user