1. 23 Nov, 2011 1 commit
  2. 19 Nov, 2011 1 commit
  3. 16 Nov, 2011 1 commit
  4. 15 Nov, 2011 1 commit
  5. 14 Nov, 2011 1 commit
  6. 13 Nov, 2011 2 commits
  7. 09 Nov, 2011 1 commit
  8. 08 Nov, 2011 2 commits
  9. 06 Nov, 2011 1 commit
    • Stefan Tauner's avatar
      ichspi: use a variable to distinguish ich generations instead of spi_programmer->type · a8d838d9
      Stefan Tauner authored
      The type member is enough most of the time to derive the wanted
      information, but
       - not always (e.g. ich_set_bbar),
       - only available after registration, which we want to delay till the
         end of init, and
       - we really want to distinguish between chipset version-grained
         attributes which are not reflected by the registered programmer.
      
      Hence this patch introduces a new static variable which is set up
      early by the init functions and allows us to get rid of all "switch
      (spi_programmer->type)" in ichspi.c. We reuse the enum introduced
      for descriptor mode for the type of the new variable.
      
      Previously magic numbers were passed by chipset_enable wrappers. Now
      they use the enumeration items too. To get this working the enum
      definition had to be moved to programmer.h.
      
      Another noteworthy detail: previously we have checked for a valid
      programmer/ich generation all over the place. I have removed those
      checks and added one single...
      a8d838d9
  10. 04 Nov, 2011 1 commit
  11. 02 Nov, 2011 1 commit
  12. 22 Oct, 2011 2 commits
    • Stefan Tauner's avatar
      Fix all ASUS P5GD* board enables · a4f1447e
      Stefan Tauner authored
      Changes related to P5GD1 variants:
      - Reorder "P5GD1 Pro" in print.c and include a DMI patter to its board enable
      - Add an untested "P5GD1(-VM)" board enable and add an entry to print.c
      - Add P5GD1-VM/S variant as reported by "Limer"
      
      Changes related to P5GD(2/C) variants:
      - Fix the name of "P5GDC-V Deluxe" board enable and add a DMI pattern and
        print.c entry. NB: there is no "P5GDC-V" board.
      - Add a generic match for P5GD(2/C)* boards with a not tested tag.
        This are the potential targets for this according to the asus ftp:
        ftp://ftp.asus.com.tw/pub/ASUS/mb/socket775/
         Unsupported variants of the P5GD2:
          P5GD2, P5GD2 Deluxe, P5GD2 Pro, P5GD2-X
          (P5GD2 Premium is already tested)
          (there seems to be also a P5GD2-TVM/GB/SI in the wild, which is not known to
          asus :)
         Unsupported variants of the P5GDC:
         P5GDC Pro, P5GDC-MX
          (P5GDC Deluxe and P5GDC-V Deluxe are already tested)
      
       References:
      P5GD1 PRO (dmi "P5GD1 PRO")
        smbus: 0x8086, 0x266a, 0x1043, 0...
      a4f1447e
    • Stefan Tauner's avatar
      serprog: small improvements · 31019d40
      Stefan Tauner authored
      
      - rename serprog_delay parameter to usecs
      - fix code style, (output) formatting issues and comments
      - sp_docommand: remove unnecessary malloc+memcpy and fix formatting
      
      Corresponding to flashrom svn r1456.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      31019d40
  13. 21 Oct, 2011 2 commits
  14. 20 Oct, 2011 2 commits
  15. 14 Oct, 2011 1 commit
  16. 18 Sep, 2011 3 commits
  17. 17 Sep, 2011 4 commits
  18. 15 Sep, 2011 2 commits
    • Stefan Tauner's avatar
      ichspi: add ICH/PCH flash descriptor decoding via FDOC/FDOD · 1e14639f
      Stefan Tauner authored
      Based on the work of Matthias 'mazzoo' Wenzel this patch adds pretty
      printing of those ICH/PCH flash descriptor sections that are
      cached/mapped by the chipset (and which are therefore reachable via
      FDOC/FDOD registers).
      
      this includes the following:
      - content section:
          describes the image and some generic properties (number of
          sections, offset of sections, PCH/ICH and MCH/PROC strap
          offsets and lengths)
      - component section:
          identify the different SPI flash chips and their capabilities.
      - region section
          similarly to a partition table this describes the different regions.
          the content of FLREG* is derived from this section.
      - master section
          defines SPI master (host, ME, GbE) access rights of the
          individual regions. the content of PR* is derived from this section.
      
      this is only a part of the data included in the descriptor. other
      information can be retrieved from a complete binary dump of the
      descriptor region only.
      
      th...
      1e14639f
    • Urja Rannikko's avatar
      serprog: add SPI support · c93f5f12
      Urja Rannikko authored
      
      Adds a new opcode (0x13) that just relays SPI bytes and wires it up to be
      usable within serprog.c. Checks for mandatory opcodes are moved around and
      changed a bit, but non-SPI programmers should not be harmed by this patch.
      
      Corresponding to flashrom svn r1442.
      Signed-off-by: default avatarUrja Rannikko <urjaman@gmail.com>
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      c93f5f12
  19. 14 Sep, 2011 1 commit
  20. 13 Sep, 2011 2 commits
  21. 12 Sep, 2011 2 commits
  22. 11 Sep, 2011 1 commit
  23. 09 Sep, 2011 1 commit
  24. 08 Sep, 2011 2 commits
  25. 07 Sep, 2011 2 commits