summaryrefslogtreecommitdiffstats
path: root/resources/flashrom/patch/purged_chips.diff
diff options
context:
space:
mode:
Diffstat (limited to 'resources/flashrom/patch/purged_chips.diff')
-rw-r--r--resources/flashrom/patch/purged_chips.diff59
1 files changed, 51 insertions, 8 deletions
diff --git a/resources/flashrom/patch/purged_chips.diff b/resources/flashrom/patch/purged_chips.diff
index e15c2fd..b7c45be 100644
--- a/resources/flashrom/patch/purged_chips.diff
+++ b/resources/flashrom/patch/purged_chips.diff
@@ -1,8 +1,8 @@
-Index: flashchips.c
-===================================================================
---- flashchips.c (revision 1889)
-+++ flashchips.c (working copy)
-@@ -7038,80 +7038,6 @@
+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",
@@ -83,7 +83,7 @@ Index: flashchips.c
.name = "MX25L1605D/MX25L1608D/MX25L1673E",
.bustype = BUS_SPI,
.manufacture_id = MACRONIX_ID,
-@@ -7219,41 +7145,6 @@
+@@ -7219,41 +7145,6 @@ const struct flashchip flashchips[] = {
{
.vendor = "Macronix",
@@ -125,7 +125,7 @@ Index: flashchips.c
.name = "MX25L3205D/MX25L3208D",
.bustype = BUS_SPI,
.manufacture_id = MACRONIX_ID,
-@@ -7290,84 +7181,6 @@
+@@ -7290,84 +7181,6 @@ const struct flashchip flashchips[] = {
{
.vendor = "Macronix",
@@ -210,7 +210,50 @@ Index: flashchips.c
.name = "MX25L3235D",
.bustype = BUS_SPI,
.manufacture_id = MACRONIX_ID,
-@@ -7476,86 +7289,6 @@
+@@ -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",