1. 05 Dec, 2010 1 commit
    • Carl-Daniel Hailfinger's avatar
      Add support for Winbond W39V040FB and W39V040FC · 9188240a
      Carl-Daniel Hailfinger authored
      
      Print lock status for all supported Winbond W39* chips:
      W39V040A, W39V040B, W39V040C, W39V040FA, W39V040FB, W39V040FC,
      W39V080A, W39V080FA, W39V080FA (dual mode).
      
      Fill in correct probe timing for Winbond W39V040C and W39V080FA.
      
      Please note that the W39V040B/W39V040FB pair has identical IDs,
      identical read/write/erase, but locking differs. Same applies to
      W39V040C/W39V040FC. This causes double detection on chipsets which
      support LPC and FWH, making flashing more difficult because the user
      has to select the correct chip. This is called the evil twin problem.
      A better evil twin handling (patch available) will resolve that problem.
      
      Corresponding to flashrom svn r1245.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
      9188240a
  2. 13 Oct, 2010 2 commits
  3. 10 Oct, 2010 1 commit
    • Carl-Daniel Hailfinger's avatar
      Unify chip write functions · b30a5ed4
      Carl-Daniel Hailfinger authored
      The currently used write functions (wrappers) all use helpers which
      perform the actual write (inner functions).
      
      The signature of the write wrappers is: int write_chip(struct flashchip
      *flash, uint8_t * buf);
      
      The signature of the inner write functions varied a lot. This patch
      changes them to: int write_part(struct flashchip *flash, uint8_t *src,
      int start, int len);
      
      Did you know that flashrom has only 8 inner write functions for all
      flash chips? write_page_write_jedec_common write_sector_jedec_common
      write_sector_28sf040 spi_chip_write_256_new spi_chip_write_1_new
      spi_aai_write_new write_page_82802ab write_page_m29f400bt
      
      Export all inner write functions.
      
      Change the function signature of wait_82802ab to eliminate single-use
      variables.
      
      Remove an error message in write_page_m29f400bt which was printed for
      every byte written regardless of success.
      
      Add sharplhf00l04.c to the list of flash chip drivers in the Makefile.
      While the functions in there are unused, I suspect we will n...
      b30a5ed4
  4. 08 Oct, 2010 1 commit
    • Carl-Daniel Hailfinger's avatar
      Move implicit erase out of chip drivers · f52f784b
      Carl-Daniel Hailfinger authored
      
      Flashrom had an implicit erase-on-write for most flash chip and
      programmer drivers, but it was not entirely consistent.
      
      Some drivers had their own hand-rolled partial update functionality
      which made handling partial updates from generic code impossible.
      
      Move implicit erase out of chip drivers, and kill some dead erase
      functions at the same time. A full chip erase is now performed in the
      generic code for all flash chips on write, and after that the whole chip
      is written.
      
      Corresponding to flashrom svn r1206.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      f52f784b
  5. 05 Oct, 2010 1 commit
  6. 29 Jul, 2010 1 commit
  7. 16 Jul, 2010 1 commit
  8. 14 Jul, 2010 2 commits
  9. 20 Jun, 2010 1 commit
  10. 28 May, 2010 1 commit
  11. 21 May, 2010 1 commit
  12. 23 Mar, 2010 1 commit
  13. 22 Mar, 2010 1 commit
  14. 19 Mar, 2010 1 commit
  15. 16 Mar, 2010 5 commits
  16. 15 Mar, 2010 1 commit
  17. 27 Feb, 2010 1 commit
  18. 22 Feb, 2010 1 commit
  19. 19 Feb, 2010 1 commit
  20. 20 Jan, 2010 1 commit
    • Sean Nelson's avatar
      Convert various SST chips to use block_erasers · 51c83fb2
      Sean Nelson authored
      
      Convert the following chips to block_erasers: SST28SF040A SST29EE010
      SST29LE010 SST29EE020A SST29LE020 SST39SF010A SST39SF020A SST39SF040
      SST39VF512 SST39VF010 SST39VF020 SST39VF040 SST39VF080 SST49LF002A/B
      SST49LF003A/B SST49LF004C SST49LF008A SST49LF008C SST49LF016C SST49LF020
      SST49LF020A SST49LF040 SST49LF040B SST49LF080A SST49LF160C .
      
      Extend sst28sf040 to include chip and sector functions for block_eraser.
      Extend sst49lfxxxc to include chip, sector, block erasers functions for
      block_erasers. Extend sst_fwhub to include chip and sector functions for
      block_erasers. Add copyrights to changed files. Killed erase_sst_fwhub.
      Killed erase_49lfxxxc. NULL A/A mux mode full chip erasers. Ignore block
      locks in erase/write. Change comments from "PP mode" to "A/A mux mode"
      
      Corresponding to flashrom svn r877.
      
      Signed-off-by: Sean Nelson <audiohacked@gmail.com> 
      Acked-by: default avatarMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
      51c83fb2
  21. 19 Jan, 2010 2 commits
  22. 12 Jan, 2010 1 commit
  23. 09 Jan, 2010 1 commit
    • Sean Nelson's avatar
      Block eraser conversions and support for Eon EN25B series · 54596379
      Sean Nelson authored
      
      Convert chips to block_erasers:
      ASD AE49F2008
      AMIC A25L40P(T/U)
      AMIC A49LF040A
      EMST F49B002UA
      Eon EN25B05
      Eon EN25B10
      Eon EN25B20
      Eon EN25B40
      Eon EN25B80
      Eon EN25B16
      Eon EN25B32
      Eon EN25B64
      Eon EN25D16
      Eon EN25F05
      Eon EN25F10
      Eon EN25F20
      Eon EN25F40
      Eon EN25F80
      Eon EN25F16
      Eon EN25F32
      Intel 28F001BX-B
      Intel 28F001BX-T
      Intel 82802AB
      Intel 82802AC
      Macronix MX25L1635D
      Macronix MX25L3235D
      Macronix MX25L6405
      Macronix MX25L12805
      Macronix MX29F001B
      Macronix MX29F001T
      Macronix MX29LV040
      
      Added new chips (according to datasheets):
      Eon EN25B05T
      Eon EN25B10T
      Eon EN25B20T
      Eon EN25B40T
      Eon EN25B80T
      Eon EN25B16T
      Eon EN25B32T
      Eon EN25B64T
      
      Added minor Device IDs for Eon EN25Bxx{T,B} chips.
      
      Corresponding to flashrom svn r843.
      Signed-off-by: default avatarSean Nelson <audiohacked@gmail.com>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      54596379
  24. 07 Jan, 2010 1 commit
  25. 04 Jan, 2010 1 commit
  26. 23 Dec, 2009 1 commit
  27. 22 Dec, 2009 1 commit
  28. 17 Dec, 2009 1 commit
  29. 14 Dec, 2009 1 commit