1. 03 Jul, 2010 1 commit
  2. 30 May, 2010 1 commit
  3. 24 Mar, 2010 1 commit
  4. 16 Mar, 2010 1 commit
  5. 15 Mar, 2010 1 commit
  6. 26 Feb, 2010 1 commit
  7. 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
  8. 09 Jan, 2010 1 commit
  9. 04 Jan, 2010 1 commit
  10. 25 Nov, 2009 1 commit
  11. 23 Sep, 2009 1 commit
  12. 15 Jun, 2009 1 commit
  13. 16 May, 2009 2 commits
  14. 12 May, 2009 1 commit
  15. 11 May, 2009 1 commit
  16. 06 Mar, 2009 1 commit
  17. 05 Mar, 2009 1 commit
    • Carl-Daniel Hailfinger's avatar
      Use helper functions to access flash chips · 61a8bd27
      Carl-Daniel Hailfinger authored
      
      Right now we perform direct pointer manipulation without any abstraction
      to read from and write to memory mapped flash chips. That makes it
      impossible to drive any flasher which does not mmap the whole chip.
      
      Using helper functions readb() and writeb() allows a driver for external
      flash programmers like Paraflasher to replace readb and writeb with
      calls to its own chip access routines.
      
      This patch has the additional advantage of removing lots of unnecessary
      casts to volatile uint8_t * and now-superfluous parentheses which caused
      poor readability.
      
      I used the semantic patcher Coccinelle to create this patch. The
      semantic patch follows:
      @@
      expression a;
      typedef uint8_t;
      volatile uint8_t *b;
      @@
      - *(b) = (a);
      + writeb(a, b);
      @@
      volatile uint8_t *b;
      @@
      - *(b)
      + readb(b)
      @@
      type T;
      T b;
      @@
      (
       readb
      |
       writeb
      )
       (...,
      - (T)
      - (b)
      + b
       )
      
      In contrast to a sed script, the semantic patch performs type checking
      before converting anything.
      
      Tested-by: Joe Julian
      
      Corresponding to flashrom svn r418 and coreboot v2 svn r3971.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarFENG Yu Ning <fengyuning1984@gmail.com>
      61a8bd27
  18. 16 Mar, 2008 1 commit
  19. 17 Oct, 2007 1 commit
  20. 09 Sep, 2007 1 commit
  21. 29 Aug, 2007 1 commit
  22. 23 Aug, 2007 2 commits
  23. 24 May, 2007 2 commits
  24. 23 May, 2007 2 commits
  25. 06 Apr, 2007 1 commit
  26. 01 Apr, 2007 1 commit
  27. 06 Feb, 2007 1 commit
  28. 07 Nov, 2006 1 commit
  29. 26 Nov, 2005 1 commit
  30. 08 Dec, 2004 2 commits
  31. 07 Dec, 2004 2 commits
  32. 30 Sep, 2004 1 commit
  33. 20 Mar, 2004 1 commit
  34. 12 Sep, 2003 1 commit