Name of user not set #1005084 has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/77563?usp=email )
Change subject: flashchips: Add support for MXIC MX25U25643G ......................................................................
flashchips: Add support for MXIC MX25U25643G
It is similar to the MX25U25635F and shares its RDID.
Tested by ch341a programmer : read, write and erase.
Datasheet is available at the following URL: https://www.mxic.com.tw/en-us/products/NOR-Flash/Serial-NOR-Flash/Pages/spec...
Change-Id: Ibff2780dcb86ffb7790e0204385e6350f136f21d Signed-off-by: xianzheng xianzheng@mxic.com.cn --- M flashchips.c M include/flashchips.h 2 files changed, 2 insertions(+), 43 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/63/77563/1
diff --git a/flashchips.c b/flashchips.c index ce68e95..1b3df5c 100644 --- a/flashchips.c +++ b/flashchips.c @@ -8109,46 +8109,6 @@
{ .vendor = "ISSI", - .name = "IS25WQ040", - .bustype = BUS_SPI, - .manufacture_id = ISSI_ID_SPI, - .model_id = ISSI_IS25WQ040, - .total_size = 512, - .page_size = 256, - .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, - .tested = TEST_OK_PREW, - .probe = PROBE_SPI_RDID, - .probe_timing = TIMING_ZERO, - .block_erasers = - { - { - .eraseblocks = { {4 * 1024, 128} }, - .block_erase = SPI_BLOCK_ERASE_20, - }, { - .eraseblocks = { {4 * 1024, 128} }, - .block_erase = SPI_BLOCK_ERASE_D7, - }, { - .eraseblocks = { {32 * 1024, 16} }, - .block_erase = SPI_BLOCK_ERASE_52, - }, { - .eraseblocks = { {64 * 1024, 8} }, - .block_erase = SPI_BLOCK_ERASE_D8, - }, { - .eraseblocks = { {512 * 1024, 1} }, - .block_erase = SPI_BLOCK_ERASE_60, - }, { - .eraseblocks = { {512 * 1024, 1} }, - .block_erase = SPI_BLOCK_ERASE_C7, - } - }, - .unlock = SPI_DISABLE_BLOCKPROTECT, - .write = SPI_CHIP_WRITE256, - .read = SPI_CHIP_READ, - .voltage = {1650, 1950}, - }, - - { - .vendor = "ISSI", .name = "IS29GL064B", .bustype = BUS_PARALLEL, .manufacture_id = ISSI_ID, @@ -10207,7 +10167,7 @@
{ .vendor = "Macronix", - .name = "MX25U25635F", + .name = "MX25U25635F/MX25U25643G", .bustype = BUS_SPI, .manufacture_id = MACRONIX_ID, .model_id = MACRONIX_MX25U25635F, diff --git a/include/flashchips.h b/include/flashchips.h index 6e191eb..5e6cbdb 100644 --- a/include/flashchips.h +++ b/include/flashchips.h @@ -487,7 +487,6 @@ #define ISSI_IS25WP080 0x7014 #define ISSI_IS25WP128 0x7018 #define ISSI_IS25WP256 0x7019 -#define ISSI_IS25WQ040 0x1253 #define ISSI_PMC_IS29GL032B 0xF9 #define ISSI_PMC_IS29GL032T 0xF6 #define ISSI_PMC_IS29GL064B 0x7E1000 @@ -529,7 +528,7 @@ #define MACRONIX_MX25U3235E 0x2536 /* Same as MX25U6435F */ #define MACRONIX_MX25U6435E 0x2537 /* Same as MX25U6435F */ #define MACRONIX_MX25U12835E 0x2538 /* Same as MX25U12835F */ -#define MACRONIX_MX25U25635F 0x2539 +#define MACRONIX_MX25U25635F 0x2539 /* Same as MX25U25643G */ #define MACRONIX_MX25U51245G 0x253a #define MACRONIX_MX25L3235D 0x5E16 /* MX25L3225D/MX25L3235D/MX25L3237D */ #define MACRONIX_MX25L6495F 0x9517