1. 25 Feb, 2010 1 commit
  2. 24 Feb, 2010 3 commits
  3. 22 Feb, 2010 1 commit
  4. 21 Feb, 2010 1 commit
  5. 19 Feb, 2010 1 commit
  6. 18 Feb, 2010 1 commit
  7. 16 Feb, 2010 1 commit
  8. 14 Feb, 2010 2 commits
  9. 13 Feb, 2010 3 commits
  10. 12 Feb, 2010 4 commits
  11. 11 Feb, 2010 2 commits
    • Carl-Daniel Hailfinger's avatar
      At long last, the day has come, and we can bury full-chip erase once and for all · 48f1d73b
      Carl-Daniel Hailfinger authored
      
      Back in November 2008(!) I proposed the first version of the flexible
      sector-based erase structure, and now we can finally rip out the old
      full-chip erase code without ill effects. Rejoice and party!
      
      Thanks to everyone who made this possible, especially to Sean Nelson who
      converted the majority of flash chips to sector erase.
      
      Corresponding to flashrom svn r895.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarSean Nelson <audiohacked@gmail.com>
      48f1d73b
    • Carl-Daniel Hailfinger's avatar
      Rewrite substantial parts of the ICH SPI support · f15e1abb
      Carl-Daniel Hailfinger authored
      
      This megapatch rewrites substantial parts of ICH SPI to actually do
      what the SPI layer wants instead of its own weird idea about commands
      (running unrequested commands, running modified commands). Besides that,
      there is a fair share of cleanups as well.
      
      - Add JEDEC_EWSR (Enable Write Status Register) to default commands. -
      Mark a no longer used opcode/preopcode table as unused. - Declare all
      commands as non-atomic/standalone by default. The ICH SPI driver has
      no business executing commands (preopcodes) automatically if they were
      not requested. - Automatically adjust preopcode/opcode pairings (like
      WREN+ERASE) based on what the SPI layer requested. The ICH SPI driver
      has no business executing altered opcode pairs as it sees fit. - Fix
      incomplete initialization in the case of a locked down chipset. Leaving
      the first 4 opcodes with uninitialized pairings had unpredictable
      results. - switch() exists for a reason. Nested if() checking on the
      same variable is an interesting style. - Actually check if the requested
      readcnt/writecnt for a command is supported by the hardware instead
      of delivering corrupt/incomplete commands and data. - If a command
      has unsupported readlen/writelen, complain loudly to the user. - Use
      find_opcode instead of open-coding the same stuff in a dozen variations.
      - Introduce infrastructure for updating the command set of unlocked
      chipsets on the fly.
      
      Corresponding to flashrom svn r894.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarDavid Hendricks <dhendrix@google.com>
      f15e1abb
  12. 04 Feb, 2010 4 commits
  13. 02 Feb, 2010 1 commit
  14. 01 Feb, 2010 1 commit
  15. 31 Jan, 2010 1 commit
  16. 28 Jan, 2010 2 commits
    • Sean Nelson's avatar
      Complete the addition of Feature Bits for all Jedec based chips · 35727f76
      Sean Nelson authored
      
      Add FEATURE_SHORT_RESET, FEATURE_LONG_RESET, and FEATURE_EITHER_RESET
      rewrite jedec functions to use getaddrmask
      
      convert write_49f002 to write_jedec_1
      convert write_w39v040c to write_jedec_1
      convert probe_w39v040c to probe_jedec
      convert write_49lf040 to write_jedec_1
      convert write_pm29f002 to write_jedec
      convert write_29f040b to write_jedec_1
      convert probe_29f040b to probe_jedec
      convert erase_chip_29f040b to erase_chip_block_jedec
      convert erase_sector_29f040b to erase_sector_jedec
      convert write_m29f002b to write_jedec
      convert write_m29f002t to write_jedec
      convert *_29f002 to *_jedec
      
      decouple unused files from Makefile:
      am29f040b.c
      en29f002a.c
      m29f002.c
      mx29f002.c
      pm29f002.c
      sst49lf040.c
      w39v040c.c
      w49f002u.c
      
      Corresponding to flashrom svn r886.
      Signed-off-by: default avatarSean Nelson <audiohacked@gmail.com>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarAnders Juel Jensen <andersjjensen@gmail.com>
      35727f76
    • Uwe Hermann's avatar
      The GIGABYTE GA-7ZM has a maximum decode size (parallel chips) of 512 KB · b1bd3e85
      Uwe Hermann authored
      
      Add this information to the new field in the board-enable table. We match the
      board via two sets of PCI IDs. However, as we don't need a board-enable
      function for this board (it works out of the box; well, at least if you remove
      the JP9 jumper on the board), change the code to allow NULL as value for
      the board-enable function. There will likely be more boards in the future where
      we want to record a maximum decode size but which don't need a board-enable.
      
      This is hardware-tested on the GIGABYTE GA-7ZM by successfully writing a 512KB
      image of random bytes to a chip in this board.
      
      Corresponding to flashrom svn r885.
      Signed-off-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      Acked-by: default avatarSean Nelson <audiohacked@gmail.com>
      b1bd3e85
  17. 27 Jan, 2010 1 commit
  18. 26 Jan, 2010 1 commit
  19. 25 Jan, 2010 1 commit
  20. 23 Jan, 2010 1 commit
  21. 22 Jan, 2010 2 commits
  22. 21 Jan, 2010 1 commit
  23. 20 Jan, 2010 4 commits
    • 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
    • Luc Verhaegen's avatar
      Boards: Remove it8705_rom_write_enable · 21f54963
      Luc Verhaegen authored
      
      Should be functionally the same as it8705f_write_enable_2e.
      
      Corresponding to flashrom svn r876.
      Signed-off-by: default avatarLuc Verhaegen <libv@skynet.be>
      Acked-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      21f54963
    • Luc Verhaegen's avatar
      Boards: Add max_rom_decode_parallel entry to board enable table · 93938c32
      Luc Verhaegen authored
      
      This is a quick fix for board specific parallel addressing limits.
      
      Corresponding to flashrom svn r875.
      Signed-off-by: default avatarLuc Verhaegen <libv@skynet.be>
      Acked-by: default avatarSean Nelson <audiohacked@gmail.com>
      93938c32
    • Michael Karcher's avatar
      Matching board via DMI · 6701ee83
      Michael Karcher authored
      
      If a board is not uniquely identifiable by PCI device/subsystem IDs, a
      string can be specified to be looked for (case-sensitive, substring or
      anchored) for now in one of the following DMI items in addition to matching
      the PCI IDs:
       - System Manufacturer
       - System Product Name
       - System Version
       - Baseboard Manufacturer
       - Baseboard Product Name
       - Baseboard Version
      
      Strings are anchored re-like (^ at the beginning, $ at the end), but
      there are no plans to support full regular expressions and matched to any
      of the mentioned fields.
      
      The match is only made if DMI info is available and the string matches.
      If no DMI info is available and the PCI IDs match, a warning is printed
      as the board can not be autodetected.
      
      It's still open to discussion whether we add an DMI override switch to
      specify a string that will definitely match, and whether this switch is
      only used if no DMI is available or whether it overrides or augments DMI
      data.
      
      DMI data is currently read using dmidecode. This tool is available for
      all major platforms except MacOS X. I heard that there also is a MacOS X
      version of dmidecode, but didn't investigate that.
      
      Corresponding to flashrom svn r874.
      Signed-off-by: default avatarMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
      Acked-by: default avatarLuc Verhaegen <libv@skynet.be>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      6701ee83