1. 15 Jun, 2012 1 commit
  2. 18 Dec, 2011 1 commit
  3. 09 Nov, 2011 1 commit
  4. 16 Aug, 2011 1 commit
  5. 15 Aug, 2011 1 commit
  6. 29 Jul, 2011 1 commit
  7. 28 Jul, 2011 1 commit
  8. 27 Jul, 2011 1 commit
  9. 14 Jun, 2011 1 commit
    • David Hendricks's avatar
      Use shutdown callback mechanism to shutdown programmers · 8bb2021d
      David Hendricks authored
      
      This patch attempts to resolve some programmer shutdown ordering issues
      by having the programmer init functions register shutdown callbacks explicitly
      wherever it makes most sense. Before, assumptions were made that could lead to
      the internal programmer's state changing before the external programmer could be
      shut down properly. Now, each programmer cleans up after itself and (hopefully)
      performs each operation in the correct order.
      
      As a side-effect, this patch gives us a better usage model for reverse
      operations such as rpci_* and rmmio_*. In the long-run, this should make
      reversing the initialization process easier to understand, less tedious, and
      less error-prone.
      
      In short, this patch does the following:
      - Registers a shutdown callback during initialization for each programmer.
      - Kills the .shutdown function pointer from programmer_entry struct. Also,
        make most shutdown functions static.
      - Adds a few minor clean-ups and corrections (e.g. missing physunmap() calls).
      
      TODO: Remove forward declaration of serprog_shutdown() (added to simplify diff)
      
      Corresponding to flashrom svn r1338.
      Signed-off-by: default avatarDavid Hendricks <dhendrix@google.com>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      8bb2021d
  10. 11 May, 2011 2 commits
  11. 27 Apr, 2011 1 commit
  12. 08 Mar, 2011 1 commit
    • Carl-Daniel Hailfinger's avatar
      Various IT85* cleanups and fixes · 7f517a71
      Carl-Daniel Hailfinger authored
      
      Fix a few typos.
      Change the EC memory region mapping name.
      Drop unused function parameter.
      Use mmio_writeb()/mmio_readb() to get reliable access to volatile memory
      locations instead of plain pointer access which is optimized away by gcc.
      Use own it85_* SPI high-level chip read/write functions instead of
      relying on unrelated ICH functions.
      
      Corresponding to flashrom svn r1279.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      
      David writes:
      I applied the patch against the Chromium OS branch and
      successfully tested read and write operations on a Cr48.
      Acked-by: default avatarDavid Hendricks <dhendrix@google.com>
      7f517a71
  13. 28 Feb, 2011 1 commit
  14. 22 Feb, 2011 1 commit