1. 09 Aug, 2012 3 commits
  2. 08 Aug, 2012 1 commit
  3. 07 Aug, 2012 1 commit
  4. 02 Aug, 2012 3 commits
  5. 30 Jul, 2012 1 commit
  6. 29 Jul, 2012 1 commit
  7. 28 Jul, 2012 2 commits
  8. 24 Jul, 2012 1 commit
  9. 22 Jul, 2012 1 commit
  10. 21 Jul, 2012 2 commits
  11. 20 Jul, 2012 1 commit
  12. 16 Jul, 2012 1 commit
  13. 29 Jun, 2012 1 commit
  14. 19 Jun, 2012 1 commit
  15. 16 Jun, 2012 2 commits
  16. 15 Jun, 2012 1 commit
  17. 14 Jun, 2012 1 commit
  18. 08 Jun, 2012 1 commit
  19. 06 Jun, 2012 1 commit
  20. 20 May, 2012 1 commit
  21. 16 May, 2012 1 commit
  22. 15 May, 2012 1 commit
  23. 14 May, 2012 2 commits
  24. 07 May, 2012 1 commit
  25. 06 May, 2012 3 commits
  26. 05 May, 2012 2 commits
  27. 02 May, 2012 3 commits
    • Stefan Tauner's avatar
      spi25.c: Refactor spi_write_status_register helpers · 96c2dfc1
      Stefan Tauner authored
      
      In r1115 "Write protection handling for Atmel AT25*" the old
      spi_write_status_register function was duplicated to send WREN and
      EWSR commands respectively controlled by a new common wrapper function
      spi_write_status_register without a reason. Both functions' resulting
      code is equal apart from the opcode used. The code itself does also
      differ in the macros used, but their value (apart from the opcode) is
      equal. This patch adds a new parameter for the opcode to the helper
      function which allows removal of the other one. This relies on the fact
      that EWSR and WREN have the same INSIZE and OUTSIZE though. If that is
      really seen as an issue, the sizes could be made parameters too.
      
      This patch also changes the wrapper so that it no longer sets the
      feature bits of the struct flash(ctx) argument. This may result in
      changed output, because it no longer implicitly disables the debug
      message in following executions. Since almost all chips had their
      feature bits fixed in the previous commit, this is a minor problem.
      
      Also, spi_write_status_enable has been dead code since r658 or so.
      Remove it.
      
      Corresponding to flashrom svn r1528.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      96c2dfc1
    • Steven Zakulec's avatar
      Tag all EWSR chips correctly · 3603a28a
      Steven Zakulec authored
      
      All SPI chips without a WRSR feature bit set were evaluated except the
      Sanyo LF25FW203A for which no datasheet is available.
      
      The following list includes all SPI-capable chips that still have no
      WRSR feature bit set:
       - AT26DF041
       - AT45CS1282
       - AT45DB011D
       - AT45DB021D
       - AT45DB041D
       - AT45DB081D
       - AT45DB161D
       - AT45DB321C
       - AT45DB321D
       - AT45DB642D
      
      All of them have no write function set and can be therefore ignored
      for now.
      
      Apart from those the generic chips are also not tagged. The opaque
      flash interface should not be affected. The SFDP dummy chip is
      changed to explicitly set EWSR if it can't deduce it dynamically.
      The vendor detecting generic chips can't write anyway.
      
      Corresponding to flashrom svn r1527.
      Signed-off-by: default avatarSteven Zakulec <spzakulec@gmail.com>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      3603a28a
    • Stefan Tauner's avatar
      Add board enable for ASUS P5BV-R · 027e0189
      Stefan Tauner authored
      
      These are used in ASUS RS120-E5/PA2 servers.
      
      GPIO pin discovered, patch prepared and
      Tested-by: Geoffrey McRae
      
      Corresponding to flashrom svn r1526.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      027e0189