123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343 |
- diff --git a/flashchips.c b/flashchips.c
- index c722a64..4124023 100644
- --- a/flashchips.c
- +++ b/flashchips.c
- @@ -7038,80 +7038,6 @@ const struct flashchip flashchips[] = {
-
- {
- .vendor = "Macronix",
- - .name = "MX25L1605",
- - .bustype = BUS_SPI,
- - .manufacture_id = MACRONIX_ID,
- - .model_id = MACRONIX_MX25L1605,
- - .total_size = 2048,
- - .page_size = 256,
- - .feature_bits = FEATURE_WRSR_WREN,
- - .tested = TEST_OK_PREW,
- - .probe = probe_spi_rdid,
- - .probe_timing = TIMING_ZERO,
- - .block_erasers =
- - {
- - {
- - .eraseblocks = { {64 * 1024, 32} },
- - .block_erase = spi_block_erase_20,
- - }, {
- - .eraseblocks = { {64 * 1024, 32} },
- - .block_erase = spi_block_erase_d8,
- - }, {
- - .eraseblocks = { {2 * 1024 * 1024, 1} },
- - .block_erase = spi_block_erase_60,
- - }, {
- - .eraseblocks = { {2 * 1024 * 1024, 1} },
- - .block_erase = spi_block_erase_c7,
- - },
- - },
- - .printlock = spi_prettyprint_status_register_bp2_srwd, /* bit6: error flag */
- - .unlock = spi_disable_blockprotect,
- - .write = spi_chip_write_256,
- - .read = spi_chip_read, /* Fast read (0x0B) supported */
- - .voltage = {2700, 3600},
- - },
- -
- - {
- - .vendor = "Macronix",
- - .name = "MX25L1605A/MX25L1606E/MX25L1608E",
- - .bustype = BUS_SPI,
- - .manufacture_id = MACRONIX_ID,
- - .model_id = MACRONIX_MX25L1605,
- - .total_size = 2048,
- - .page_size = 256,
- - /* OTP: 64B total; enter 0xB1, exit 0xC1 (MX25L1606E and MX25L1608E only) */
- - .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
- - .tested = TEST_OK_PREW,
- - .probe = probe_spi_rdid,
- - .probe_timing = TIMING_ZERO,
- - .block_erasers =
- - {
- - {
- - .eraseblocks = { {4 * 1024, 512} },
- - .block_erase = spi_block_erase_20,
- - }, {
- - .eraseblocks = { {64 * 1024, 32} },
- - .block_erase = spi_block_erase_52,
- - }, {
- - .eraseblocks = { {64 * 1024, 32} },
- - .block_erase = spi_block_erase_d8,
- - }, {
- - .eraseblocks = { {2 * 1024 * 1024, 1} },
- - .block_erase = spi_block_erase_60,
- - }, {
- - .eraseblocks = { {2 * 1024 * 1024, 1} },
- - .block_erase = spi_block_erase_c7,
- - },
- - },
- - .printlock = spi_prettyprint_status_register_bp3_srwd, /* MX25L1605A bp2 only */
- - .unlock = spi_disable_blockprotect_bp3_srwd,
- - .write = spi_chip_write_256,
- - .read = spi_chip_read, /* Fast read (0x0B) supported (MX25L1608E supports dual-I/O read) */
- - .voltage = {2700, 3600},
- - },
- -
- - {
- - .vendor = "Macronix",
- .name = "MX25L1605D/MX25L1608D/MX25L1673E",
- .bustype = BUS_SPI,
- .manufacture_id = MACRONIX_ID,
- @@ -7219,41 +7145,6 @@ const struct flashchip flashchips[] = {
-
- {
- .vendor = "Macronix",
- - .name = "MX25L3205(A)",
- - .bustype = BUS_SPI,
- - .manufacture_id = MACRONIX_ID,
- - .model_id = MACRONIX_MX25L3205,
- - .total_size = 4096,
- - .page_size = 256,
- - .feature_bits = FEATURE_WRSR_WREN,
- - .tested = TEST_OK_PREW,
- - .probe = probe_spi_rdid,
- - .probe_timing = TIMING_ZERO,
- - .block_erasers =
- - {
- - {
- - .eraseblocks = { {64 * 1024, 64} },
- - .block_erase = spi_block_erase_20,
- - }, {
- - .eraseblocks = { {64 * 1024, 64} },
- - .block_erase = spi_block_erase_d8,
- - }, {
- - .eraseblocks = { {4 * 1024 * 1024, 1} },
- - .block_erase = spi_block_erase_60,
- - }, {
- - .eraseblocks = { {4 * 1024 * 1024, 1} },
- - .block_erase = spi_block_erase_c7,
- - },
- - },
- - .printlock = spi_prettyprint_status_register_bp2_srwd, /* bit6: error flag */
- - .unlock = spi_disable_blockprotect,
- - .write = spi_chip_write_256,
- - .read = spi_chip_read, /* Fast read (0x0B) supported */
- - .voltage = {2700, 3600},
- - },
- -
- - {
- - .vendor = "Macronix",
- .name = "MX25L3205D/MX25L3208D",
- .bustype = BUS_SPI,
- .manufacture_id = MACRONIX_ID,
- @@ -7290,84 +7181,6 @@ const struct flashchip flashchips[] = {
-
- {
- .vendor = "Macronix",
- - .name = "MX25L3206E/MX25L3208E",
- - .bustype = BUS_SPI,
- - .manufacture_id = MACRONIX_ID,
- - .model_id = MACRONIX_MX25L3205,
- - .total_size = 4096,
- - .page_size = 256,
- - /* OTP: 64B total; enter 0xB1, exit 0xC1 */
- - .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
- - .tested = TEST_OK_PREW,
- - .probe = probe_spi_rdid,
- - .probe_timing = TIMING_ZERO,
- - .block_erasers =
- - {
- - {
- - .eraseblocks = { {4 * 1024, 1024} },
- - .block_erase = spi_block_erase_20,
- - }, {
- - .eraseblocks = { {64 * 1024, 64} },
- - .block_erase = spi_block_erase_d8,
- - }, {
- - .eraseblocks = { {64 * 1024, 64} },
- - .block_erase = spi_block_erase_52,
- - }, {
- - .eraseblocks = { {4 * 1024 * 1024, 1} },
- - .block_erase = spi_block_erase_60,
- - }, {
- - .eraseblocks = { {4 * 1024 * 1024, 1} },
- - .block_erase = spi_block_erase_c7,
- - },
- - },
- - .printlock = spi_prettyprint_status_register_bp3_srwd,
- - .unlock = spi_disable_blockprotect_bp3_srwd,
- - .write = spi_chip_write_256,
- - .read = spi_chip_read, /* Fast read (0x0B) and dual I/O supported */
- - .voltage = {2700, 3600},
- - },
- -
- - {
- - .vendor = "Macronix",
- - .name = "MX25L3273E",
- - .bustype = BUS_SPI,
- - .manufacture_id = MACRONIX_ID,
- - .model_id = MACRONIX_MX25L3205,
- - .total_size = 4096,
- - .page_size = 256,
- - /* OTP: 64B total; enter 0xB1, exit 0xC1 */
- - .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
- - .tested = TEST_UNTESTED,
- - .probe = probe_spi_rdid,
- - .probe_timing = TIMING_ZERO,
- - .block_erasers =
- - {
- - {
- - .eraseblocks = { {4 * 1024, 1024} },
- - .block_erase = spi_block_erase_20,
- - }, {
- - .eraseblocks = { {32 * 1024, 128} },
- - .block_erase = spi_block_erase_52,
- - }, {
- - .eraseblocks = { {64 * 1024, 64} },
- - .block_erase = spi_block_erase_d8,
- - }, {
- - .eraseblocks = { {4 * 1024 * 1024, 1} },
- - .block_erase = spi_block_erase_60,
- - }, {
- - .eraseblocks = { {4 * 1024 * 1024, 1} },
- - .block_erase = spi_block_erase_c7,
- - },
- - },
- - .printlock = spi_prettyprint_status_register_bp3_srwd,
- - .unlock = spi_disable_blockprotect_bp3_srwd,
- - .write = spi_chip_write_256,
- - .read = spi_chip_read, /* Fast read (0x0B) and dual I/O supported */
- - .voltage = {2700, 3600},
- - },
- -
- - {
- - .vendor = "Macronix",
- .name = "MX25L3235D",
- .bustype = BUS_SPI,
- .manufacture_id = MACRONIX_ID,
- @@ -7404,42 +7217,6 @@ const struct flashchip flashchips[] = {
-
- {
- .vendor = "Macronix",
- - .name = "MX25L6405",
- - .bustype = BUS_SPI,
- - .manufacture_id = MACRONIX_ID,
- - .model_id = MACRONIX_MX25L6405,
- - .total_size = 8192,
- - .page_size = 256,
- - /* Has an additional 512B EEPROM sector */
- - .feature_bits = FEATURE_WRSR_WREN,
- - .tested = TEST_OK_PREW,
- - .probe = probe_spi_rdid,
- - .probe_timing = TIMING_ZERO,
- - .block_erasers =
- - {
- - {
- - .eraseblocks = { {64 * 1024, 128} },
- - .block_erase = spi_block_erase_20,
- - }, {
- - .eraseblocks = { {64 * 1024, 128} },
- - .block_erase = spi_block_erase_d8,
- - }, {
- - .eraseblocks = { {8 * 1024 * 1024, 1} },
- - .block_erase = spi_block_erase_60,
- - }, {
- - .eraseblocks = { {8 * 1024 * 1024, 1} },
- - .block_erase = spi_block_erase_c7,
- - }
- - },
- - .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6: error flag */
- - .unlock = spi_disable_blockprotect_bp3_srwd,
- - .write = spi_chip_write_256,
- - .read = spi_chip_read, /* Fast read (0x0B) supported */
- - .voltage = {2700, 3600},
- - },
- -
- - {
- - .vendor = "Macronix",
- .name = "MX25L6405D",
- .bustype = BUS_SPI,
- .manufacture_id = MACRONIX_ID,
- @@ -7476,86 +7253,6 @@ const struct flashchip flashchips[] = {
-
- {
- .vendor = "Macronix",
- - .name = "MX25L6406E/MX25L6408E",
- - .bustype = BUS_SPI,
- - .manufacture_id = MACRONIX_ID,
- - .model_id = MACRONIX_MX25L6405,
- - .total_size = 8192,
- - .page_size = 256,
- - /* MX25L6406E supports SFDP */
- - /* OTP: 06E 64B total; enter 0xB1, exit 0xC1 */
- - .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
- - .tested = TEST_OK_PREW,
- - .probe = probe_spi_rdid,
- - .probe_timing = TIMING_ZERO,
- - .block_erasers =
- - {
- - {
- - .eraseblocks = { {4 * 1024, 2048} },
- - .block_erase = spi_block_erase_20,
- - }, {
- - .eraseblocks = { {64 * 1024, 128} },
- - .block_erase = spi_block_erase_52,
- - }, {
- - .eraseblocks = { {64 * 1024, 128} },
- - .block_erase = spi_block_erase_d8,
- - }, {
- - .eraseblocks = { {8 * 1024 * 1024, 1} },
- - .block_erase = spi_block_erase_60,
- - }, {
- - .eraseblocks = { {8 * 1024 * 1024, 1} },
- - .block_erase = spi_block_erase_c7,
- - }
- - },
- - .printlock = spi_prettyprint_status_register_bp3_srwd,
- - .unlock = spi_disable_blockprotect_bp3_srwd,
- - .write = spi_chip_write_256,
- - .read = spi_chip_read, /* Fast read (0x0B), dual I/O read supported */
- - .voltage = {2700, 3600},
- - },
- -
- - {
- - .vendor = "Macronix",
- - .name = "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E",
- - .bustype = BUS_SPI,
- - .manufacture_id = MACRONIX_ID,
- - .model_id = MACRONIX_MX25L6405,
- - .total_size = 8192,
- - .page_size = 256,
- - /* supports SFDP */
- - /* OTP: 512B total; enter 0xB1, exit 0xC1 */
- - .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
- - .tested = TEST_OK_PREW,
- - .probe = probe_spi_rdid,
- - .probe_timing = TIMING_ZERO,
- - .block_erasers =
- - {
- - {
- - .eraseblocks = { {4 * 1024, 2048} },
- - .block_erase = spi_block_erase_20,
- - }, {
- - .eraseblocks = { {32 * 1024, 256} },
- - .block_erase = spi_block_erase_52,
- - }, {
- - .eraseblocks = { {64 * 1024, 128} },
- - .block_erase = spi_block_erase_d8,
- - }, {
- - .eraseblocks = { {8 * 1024 * 1024, 1} },
- - .block_erase = spi_block_erase_60,
- - }, {
- - .eraseblocks = { {8 * 1024 * 1024, 1} },
- - .block_erase = spi_block_erase_c7,
- - }
- - },
- - .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 is quad enable */
- - .unlock = spi_disable_blockprotect_bp3_srwd,
- - .write = spi_chip_write_256,
- - .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */
- - .voltage = {2700, 3600},
- - },
- -
- - {
- - .vendor = "Macronix",
- .name = "MX25L12805D",
- .bustype = BUS_SPI,
- .manufacture_id = MACRONIX_ID,
|