1. 15 Jun, 2009 1 commit
  2. 05 Jun, 2009 1 commit
  3. 16 May, 2009 2 commits
  4. 12 May, 2009 1 commit
  5. 06 Mar, 2009 1 commit
  6. 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
  7. 25 Jan, 2009 1 commit
  8. 21 Jul, 2008 1 commit
    • Peter Stuge's avatar
      Winbond W39V040C and MSI K8T Neo2-F · cce2682d
      Peter Stuge authored
      
      W39V040C does standard JEDEC commands except chip erase so add a small driver.
      probe_w39v040c() prints the block lock pin status when a chip is found.
      
      The Neo2 board enable matches on 8237-internal IDE and onboard NIC PCI IDs.
      
      Many thanks to Daniel McLellan for testing all of this on hardware!
      Build tested by Uwe.
      
      Corresponding to flashrom svn r304 and coreboot v2 svn r3431.
      Signed-off-by: default avatarPeter Stuge <peter@stuge.se>
      Acked-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      cce2682d
  9. 16 Mar, 2008 1 commit
  10. 17 Oct, 2007 1 commit
  11. 09 Sep, 2007 1 commit
  12. 29 Aug, 2007 1 commit
  13. 23 Aug, 2007 2 commits
  14. 24 May, 2007 2 commits
  15. 23 May, 2007 2 commits
  16. 06 Apr, 2007 1 commit
  17. 01 Apr, 2007 1 commit
  18. 06 Feb, 2007 1 commit
  19. 07 Nov, 2006 1 commit
  20. 26 Nov, 2005 1 commit
  21. 08 Dec, 2004 2 commits
  22. 07 Dec, 2004 2 commits
  23. 30 Sep, 2004 1 commit
  24. 20 Mar, 2004 1 commit
  25. 12 Sep, 2003 1 commit
  26. 28 Feb, 2003 1 commit
  27. 06 Sep, 2002 1 commit