1. 18 Oct, 2008 1 commit
  2. 07 Jul, 2008 1 commit
    • Peter Stuge's avatar
      Trivial SPI cleanups · f83221b6
      Peter Stuge authored
      
      While writing a new SPI driver I fixed some things in the SPI code:
      All calls to spi_command() had unneccessary #define duplications, and in some
      cases the read count define could theoretically become harmful because NULL was
      passed for the read buffer. Avoid a crash, should someone change the #defines.
      
      I also noticed that the only caller of spi_page_program() was the it87 driver,
      and spi_page_program() could only call back into the it87 driver. Removed the
      function for easier-to-follow code and made it8716f_spi_page_program() static.
      The ichspi driver's static page functions are already static.
      
      Corresponding to flashrom svn r302 and coreboot v2 svn r3418.
      Signed-off-by: default avatarPeter Stuge <peter@stuge.se>
      Acked-by: default avatarPeter Stuge <peter@stuge.se>
      f83221b6
  3. 30 Jun, 2008 3 commits
  4. 27 Jun, 2008 1 commit
  5. 24 Jun, 2008 1 commit
    • Peter Stuge's avatar
      Slight restructure of SPI probe_ functions · da4e5f36
      Peter Stuge authored
      
      Preparation for a probe optimization patch. This patch does not change any
      functionality. spi_probe_rdid was tested to still work on my M57SLI rev 2.
      
      The idea is to have error checks return error immediately when something
      fails, rather than having code inside an if block where the condition
      tests for success.
      
      This means: Less indentation, more clear what the code is checking.
      
      Corresponding to flashrom svn r272 and coreboot v2 svn r3386.
      Signed-off-by: default avatarPeter Stuge <peter@stuge.se>
      Acked-by: default avatarWard Vandewege <ward@gnu.org>
      da4e5f36
  6. 16 May, 2008 1 commit
  7. 15 May, 2008 2 commits
  8. 14 May, 2008 1 commit
  9. 13 May, 2008 3 commits
  10. 10 May, 2008 2 commits
  11. 06 Feb, 2008 1 commit
  12. 22 Jan, 2008 1 commit
  13. 21 Jan, 2008 1 commit
  14. 19 Jan, 2008 1 commit
  15. 04 Jan, 2008 1 commit
  16. 29 Dec, 2007 1 commit
  17. 17 Dec, 2007 1 commit
  18. 16 Dec, 2007 1 commit
  19. 22 Oct, 2007 1 commit
  20. 18 Oct, 2007 2 commits
  21. 17 Oct, 2007 1 commit
  22. 16 Oct, 2007 1 commit
  23. 15 Oct, 2007 1 commit