diff options
Diffstat (limited to 'resources/flashrom/patch/lenovobios_macronix.diff')
-rw-r--r-- | resources/flashrom/patch/lenovobios_macronix.diff | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/resources/flashrom/patch/lenovobios_macronix.diff b/resources/flashrom/patch/lenovobios_macronix.diff new file mode 100644 index 0000000..30f42bb --- /dev/null +++ b/resources/flashrom/patch/lenovobios_macronix.diff @@ -0,0 +1,26 @@ +--- flashchips.c 2014-12-30 01:59:49.846383043 +0000 ++++ flashchips.c.i945lenovobios_macronix 2014-12-30 02:05:16.060000647 +0000 +@@ -6605,12 +6605,12 @@ + .name = "MX25L1605D/MX25L1608D/MX25L1673E", + .bustype = BUS_SPI, + .manufacture_id = MACRONIX_ID, +- .model_id = MACRONIX_MX25L1605, ++ .model_id = 0x14, + .total_size = 2048, + .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, + .tested = TEST_OK_PREW, +- .probe = probe_spi_rdid, ++ .probe = probe_spi_res1, + .probe_timing = TIMING_ZERO, + .block_erasers = + { +@@ -6630,7 +6630,7 @@ + }, + .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6: Continuously Program (CP) mode */ + .unlock = spi_disable_blockprotect, +- .write = spi_chip_write_256, ++ .write = spi_chip_write_1, + .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */ + .voltage = {2700, 3600}, + }, |