lenovobios_macronix.diff 876 B

123456789101112131415161718192021222324252627
  1. --- flashchips.c 2014-12-30 01:59:49.846383043 +0000
  2. +++ flashchips.c.i945lenovobios_macronix 2014-12-30 02:05:16.060000647 +0000
  3. @@ -6605,12 +6605,12 @@
  4. .name = "MX25L1605D/MX25L1608D/MX25L1673E",
  5. .bustype = BUS_SPI,
  6. .manufacture_id = MACRONIX_ID,
  7. - .model_id = MACRONIX_MX25L1605,
  8. + .model_id = 0x14,
  9. .total_size = 2048,
  10. .page_size = 256,
  11. .feature_bits = FEATURE_WRSR_WREN,
  12. .tested = TEST_OK_PREW,
  13. - .probe = probe_spi_rdid,
  14. + .probe = probe_spi_res1,
  15. .probe_timing = TIMING_ZERO,
  16. .block_erasers =
  17. {
  18. @@ -6630,7 +6630,7 @@
  19. },
  20. .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6: Continuously Program (CP) mode */
  21. .unlock = spi_disable_blockprotect,
  22. - .write = spi_chip_write_256,
  23. + .write = spi_chip_write_1,
  24. .read = spi_chip_read, /* Fast read (0x0B), dual I/O supported */
  25. .voltage = {2700, 3600},
  26. },