1. 19 Aug, 2009 2 commits
  2. 12 Aug, 2009 5 commits
  3. 10 Aug, 2009 1 commit
  4. 09 Aug, 2009 1 commit
  5. 30 Jul, 2009 1 commit
  6. 23 Jul, 2009 1 commit
    • Carl-Daniel Hailfinger's avatar
      This is a workaround for a bug in SB600 and SB700 · f8555e24
      Carl-Daniel Hailfinger authored
      
      If we only send an opcode and no additional data/address, the SPI
      controller will read one byte too few from the chip. Basically, the
      last byte of the chip response is discarded and will not end up in the
      FIFO. It is unclear if the CS# line is set high too early as well. That
      hardware bug is undocumented as of now, but I'm working with AMD to add
      a detailed description of it to the errata.
      
      Add loads of additional debugging to SB600/SB700 init.
      
      Add explanatory comments for unintuitive code flow.
      
      Thanks go to Uwe for testing quite a few iterations of the patch.
      
      Kill the SB600 flash chip status register special case, which was a
      somewhat misguided workaround for that hardware erratum.
      
      Note for future added features in the SB600 SPI driver: It may be
      possible to read up to 15 bytes of command response with overlapping
      reads due to the ring buffer design of the FIFO if the command can be
      repeated without ill effects. Same for skipping up to 7 bytes between
      command and response.
      
      Corresponding to flashrom svn r661.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarStefan Reinauer <stepan@coresystems.de>
      f8555e24
  7. 22 Jul, 2009 2 commits
  8. 12 Jul, 2009 1 commit
  9. 11 Jul, 2009 1 commit
  10. 10 Jul, 2009 1 commit
    • Carl-Daniel Hailfinger's avatar
      Add SPI multicommand infrastructure · d0478299
      Carl-Daniel Hailfinger authored
      
      Some SPI opcodes need to be sent in direct succession after each other
      without any chip deselect happening in between. A prominent example is
      WREN (Write Enable) directly before PP (Page Program). Intel calls the
      first opcode in such a row "preopcode".
      
      Right now, we ignore the direct succession requirement completely and it
      works pretty well because most onboard SPI masters have a timing or
      heuristics which make the problem disappear.
      The FT2232 SPI flasher is different. Since it is an external flasher,
      timing is very different to what we can expect from onboard flashers and
      this leads to failure at slow speeds.
      
      This patch allows any function to submit multiple SPI commands in a
      stream to any flasher. Support in the individual flashers isn't
      implemented yet, so there is one generic function which passes the each
      command in the stream one-by-one to the command functions of the
      selected SPI flash driver.
      Tested-by: default avatarJakob Bornecrantz <wallbraker@gmail.com>
      
      Corresponding to flashrom svn r645.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarJakob Bornecrantz <wallbraker@gmail.com>
      d0478299
  11. 01 Jul, 2009 1 commit
  12. 28 Jun, 2009 1 commit
  13. 24 Jun, 2009 1 commit
  14. 23 Jun, 2009 1 commit
  15. 20 Jun, 2009 1 commit
    • Uwe Hermann's avatar
      Various wiki output changes · a2d05012
      Uwe Hermann authored
      
       - Move board_info_url struct to print.c, doesn't have to be global.
      
       - Simplify flashrom.c a bit by moving stuff to print.c.
         Eliminate two now-useless mini-functions in print.c.
      
       - Add a note that the wiki page contents are semi-automatically generated.
      
       - Mention date of last wiki page update as well as the flashrom revision
         that was used to generate the wiki output.
      
       - Also generate list of supported laptops in -z output now.
      
       - Add some more board URLs.
      
       - Add a boards_notes[] table to allow for arbitrary footnotes/comments for
         each board in the table. All notes will automatically be turned into
         wiki footnotes with correct numbers and will appear at the end of the
         respective table.
      
      Corresponding to flashrom svn r615.
      Signed-off-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      Acked-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      a2d05012
  16. 19 Jun, 2009 1 commit
  17. 18 Jun, 2009 1 commit
  18. 17 Jun, 2009 1 commit
  19. 16 Jun, 2009 2 commits
  20. 15 Jun, 2009 3 commits
  21. 14 Jun, 2009 1 commit
  22. 13 Jun, 2009 1 commit
  23. 12 Jun, 2009 2 commits
  24. 05 Jun, 2009 3 commits
  25. 03 Jun, 2009 1 commit
  26. 02 Jun, 2009 3 commits