1. 16 May, 2014 1 commit
  2. 09 May, 2014 1 commit
  3. 02 May, 2014 1 commit
  4. 05 Mar, 2014 1 commit
  5. 25 Oct, 2013 1 commit
    • Stefan Tauner's avatar
      Refactor Intel Chipset Enables · 92d6a861
      Stefan Tauner authored
      
       - Combine enable_flash_ich_4e() and enable_flash_ich_dc() to
         enable_flash_ich_fwh().
       - Remove unjustified (chipset) name parameters from various
         enable_flash_ich* functions.
       - Make Poulsbo and Tunnel Creek use generic enables by refining existing
         functions to work with them, including everything in ichspi.c.
       - Refactor enable_flash_ich_fwh_decode() to be called unconditionally for
         all chipsets.
       - Add support for Intel Atom Centerton (S12x0).
       - Recombine ICH2/3/4/5 to CHIPSET_ICH2345 because we treat them equally
         anyway.
       - Move spibar handling out of ich_init_spi() into enable_flash_ich_spi()
       - Various small cleanups.
      
      Corresponding to flashrom svn r1761.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      92d6a861
  6. 14 Sep, 2013 2 commits
  7. 11 Sep, 2013 1 commit
    • Sean Nelson's avatar
      Add an internal DMI decoder · 4c6d3a4b
      Sean Nelson authored
      Previously we had to rely on dmidecode to decode the DMI/SMBIOS table.
      This patch integrates a DMI decoder into flashrom. The old behavior of calling
      dmidecode can be brought back by using CONFIG_INTERNAL_DMI=no.
      
      Significant portions of this patch were taken from dmidecode, hence add its
      authors to the copyright notice (dmidecode is also GPL2+). We do a few things
      differently though. First of all we do more bounds checking to prevent accessing
      unmapped memory. We do not support disovery via EFI (yet), but memory
      scanning only. We handle the chassis-type lock bit correctly which dmidecode
      did not for a long while.
      
      The API to the rest of flashrom remains stable, but the output changes slightly.
      To share as much code as possible (which actually is not much), i have added
      dmi_fill methods that get called in dmi_init. They are reponsible to fill the
      dmi_strings array and setting the is_laptop variable. After it is called, dmi_init
      prints all dmi_strings. Previously the strings wer...
      4c6d3a4b
  8. 24 Aug, 2013 1 commit
  9. 23 Aug, 2013 1 commit
  10. 14 Aug, 2013 1 commit
  11. 13 Aug, 2013 1 commit
  12. 25 Jul, 2013 1 commit
  13. 17 Jul, 2013 1 commit
    • Stefan Tauner's avatar
      Uintptr_t-ify map_flash_region functions · 305e0b99
      Stefan Tauner authored
      
      Unsigned long is not the right type for manipulating pointer values.
      Since C99 there are suitable unsigned and signed types available, namely
      uintptr_t and intptr_t respectively.
      
      Use them in functions assigned to programmers' map_flash_region fields and
      their callers where applicable.
      
      This patch also changes the display width of all associated address values in
      physmap.c to 16/8 hex characters depending on the actual size by
      introducing a macro PRIxPTR_WIDTH and exploiting printf's * field width
      specifier.
      
      Corresponding to flashrom svn r1701.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      305e0b99
  14. 05 Apr, 2013 1 commit
  15. 01 Apr, 2013 2 commits
  16. 27 Mar, 2013 1 commit
  17. 15 Mar, 2013 1 commit
  18. 05 Jan, 2013 1 commit
  19. 04 Jan, 2013 1 commit
    • Stefan Tauner's avatar
      Unify PCI init and let pcidev clean itself up · 5561955b
      Stefan Tauner authored
      
      Previously the internal programmer used its own code to initialize pcilib.
      This patch extracts the common code from the internal programmer and
      pcidev_init() into pcidev_init_common().
      This fixes the non-existent PCI cleanup of the internal programmer and adds
      an additional safety by checking for an already existing PCI context.
      
      We got a nice shutdown function registration infrastructure, but did not use it
      very wisely. Instead we added shutdown functions to a myriad of programmers
      unnecessarily. In this patch we get rid of those that do only call pci_cleanup(pacc)
      by adding a shutdown function the pcidev.c itself that gets registered by
      pcidev_init().
      
      Corresponding to flashrom svn r1642.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      5561955b
  20. 30 Dec, 2012 1 commit
  21. 27 Dec, 2012 2 commits
  22. 26 Dec, 2012 1 commit
  23. 24 Sep, 2012 1 commit
  24. 01 Sep, 2012 1 commit
  25. 25 Aug, 2012 1 commit
  26. 24 Aug, 2012 1 commit
  27. 20 Aug, 2012 1 commit
  28. 11 Aug, 2012 1 commit
  29. 09 Aug, 2012 1 commit
    • Carl-Daniel Hailfinger's avatar
      Portability fixes and cleanups · 60d9bd26
      Carl-Daniel Hailfinger authored
      
      Move Mac OS X IOKit/DirectHW availability checks in the Makefile from
      compiler check to pciutils check.
      
      Print the compiler error messages for feature detection.
      
      Add DOS libpci in the Makefile includes only if a PCI-based programmer
      was requested.
      
      Restrict mmap usage in ich_descriptors_tool to Unix style systems.
      
      Build ich_descriptors_tool with the correct .exe extension on
      DOS/Windows.
      
      Build ich_descriptors_tool by default on x86. (Patch by Stefan Tauner)
      
      Print the Windows version instead of "unknown machine" on Windows.
      
      Don't #define our own __DARWIN__, use the standard OS X detection
      method.
      
      Update the README.
      
      Add more generated files to svn:ignore
      
      Corresponding to flashrom svn r1567.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      60d9bd26
  30. 28 Jul, 2012 1 commit
    • Stefan Tauner's avatar
      Introduce enum test_state · 2c20b28f
      Stefan Tauner authored
      
      Previously boards in the wiki were tagged either as working or as known
      bad. But we added support to various boards via board enables that were
      then never tested because the owners have not reported back. This can
      now be tagged with NT and is shown appropriately.
      
      Also, the underlying data structure indicating state was converted from
      macros to an enum while preserving original integer values and is used
      for programmers and chipsets too.
      
      Corresponding to flashrom svn r1555.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      2c20b28f
  31. 21 Jul, 2012 1 commit
  32. 20 Jul, 2012 1 commit
  33. 16 Jul, 2012 1 commit
  34. 15 Jun, 2012 1 commit
  35. 06 May, 2012 1 commit
  36. 30 Apr, 2012 1 commit
  37. 27 Apr, 2012 1 commit