lenovobios_sst.diff 759 B

123456789101112131415161718192021222324252627
  1. --- flashchips.c 2014-12-30 01:59:49.846383043 +0000
  2. +++ flashchips.c.i945lenovobios_sst 2014-12-30 02:03:51.367580645 +0000
  3. @@ -10886,12 +10886,12 @@
  4. .name = "SST25VF016B",
  5. .bustype = BUS_SPI,
  6. .manufacture_id = SST_ID,
  7. - .model_id = SST_SST25VF016B,
  8. + .model_id = 0x41,
  9. .total_size = 2048,
  10. .page_size = 256,
  11. .feature_bits = FEATURE_WRSR_EITHER,
  12. .tested = TEST_OK_PREW,
  13. - .probe = probe_spi_rdid,
  14. + .probe = probe_spi_res2,
  15. .probe_timing = TIMING_ZERO,
  16. .block_erasers =
  17. {
  18. @@ -10914,7 +10914,7 @@
  19. },
  20. .printlock = spi_prettyprint_status_register_sst25vf016,
  21. .unlock = spi_disable_blockprotect,
  22. - .write = spi_aai_write,
  23. + .write = spi_chip_write_1,
  24. .read = spi_chip_read,
  25. .voltage = {2700, 3600},
  26. },