1. 19 Jul, 2014 1 commit
  2. 15 Jan, 2013 1 commit
  3. 15 Jun, 2012 1 commit
  4. 20 Dec, 2011 1 commit
    • Carl-Daniel Hailfinger's avatar
      Have all programmer init functions register bus masters/programmers · c40cff7b
      Carl-Daniel Hailfinger authored
      All programmer types (Parallel, SPI, Opaque) now register themselves
      into a generic programmer list and probing is now programmer-centric
      instead of chip-centric.
      Registering multiple SPI/... masters at the same time is now possible
      without any problems. Handling multiple flash chips is still unchanged,
      but now we have the infrastructure to deal with "dual BIOS" and "one
      flash behind southbridge and one flash behind EC" sanely.
      
      A nice side effect is that this patch kills quite a few global variables
      and improves the situation for libflashrom.
      
      Hint for developers:
      struct {spi,par,opaque}_programmer now have a void *data pointer to
      store any additional programmer-specific data, e.g. hardware
      configuration info.
      
      Note:
      flashrom -f -c FOO -r forced_read.bin
      does not work anymore. We have to find an architecturally clean way to
      solve this.
      
      Corresponding to flashrom svn r1475.
      
      Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006...
      c40cff7b
  5. 18 Dec, 2011 1 commit
  6. 16 Aug, 2011 1 commit
  7. 28 Jul, 2011 1 commit
  8. 11 May, 2011 2 commits
  9. 06 Oct, 2010 1 commit
  10. 15 Sep, 2010 1 commit
    • Carl-Daniel Hailfinger's avatar
      SPI bitbanging: request/release bus · 2822888c
      Carl-Daniel Hailfinger authored
      
      SPI bitbanging on devices which speak SPI natively has a dual-use
      problem: We need to shut down normal SPI operations to do the bitbanging
      ourselves. Once we're done, it makes a lot of sense to reenable "normal"
      SPI operations again. Add request_bus/release_bus functions to struct
      bitbang_spi_master.
      Add a bitbang shutdown function (not used yet).
      Change MCP SPI and Intel NIC SPI to use the new request/release bus
      infrastructure.
      Cosmetic changes to a few error messages (80 column limit).
      
      There are multiple possible strategies for bus request/release:
      - Request at the start of a SPI command, release immediately afterwards.
      - Request at the start of a SPI multicommand, release once all commands
      of the multicommand are done.
      - Request on programmer init, release on shutdown.
      Each strategy has its own advantages. For now, we will stay with the
      first strategy which worked fine so far.
      
      Corresponding to flashrom svn r1171.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      2822888c
  11. 27 Jul, 2010 1 commit
    • Carl-Daniel Hailfinger's avatar
      Split off programmer.h from flash.h · 5b997c3e
      Carl-Daniel Hailfinger authored
      
      Programmer specific functions are of absolutely no interest to any file
      except those dealing with programmer specific actions (special SPI
      commands and the generic core).
      
      The new header structure is as follows (and yes, improvements are
      possible):
      flashchips.h  flash chip IDs
      chipdrivers.h  chip-specific read/write/... functions
      flash.h  common header for all stuff that doesn't fit elsewhere
      hwaccess.h hardware access functions
      programmer.h  programmer specific functions
      coreboot_tables.h  header from coreboot, internal programmer only
      spi.h SPI command definitions
      
      Corresponding to flashrom svn r1112.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      5b997c3e
  12. 18 Jul, 2010 1 commit
  13. 17 Jul, 2010 3 commits
  14. 14 Jul, 2010 2 commits
  15. 21 May, 2010 1 commit
  16. 26 Feb, 2010 1 commit
  17. 09 Jan, 2010 1 commit
  18. 25 Nov, 2009 1 commit
  19. 01 Oct, 2009 1 commit
  20. 28 Sep, 2009 1 commit