1. 01 Feb, 2016 1 commit
  2. 31 Jan, 2016 3 commits
  3. 24 Jan, 2016 1 commit
  4. 23 Jan, 2016 2 commits
    • Simon Glass's avatar
      dediprog: support new communication protocol, cleanup and enable by default · ae61651b
      Simon Glass authored
      The new protocol changes some commands, so adjust the code to support
      these. Use helper functions to reduce duplication in libusb calls. Testing
      with real hardware showed that the maximum read size via the control
      endpoint is about 16 bytes although specification does not mention that.
      Dediprog SF600 is not supported yet.
      Based on the following chromiumos changes:
      Change-Id: Ibd1e27d9e8273ba879b9b5d95675b99596255c89
      Change-Id: Ifc33e7b1eed5b0cb80f83458fa24741a577fa46a
      Additionally, some ideas from Alex for cleaner code were incorporated as well.
      Tested on an SF100 V4 with both firmware generations PREWing a M25PX80
      and AT45DB041D (the latter is using dediprog_spi_send_command() instead
      of optimized functions which make it a good test vehicle).
      Corresponding to flashrom svn r1918.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarDavid Hendricks <dhendrix@chromium.org>
      Signed-off-by: default avatarAlexandru Gagniuc <mr.nuke.me@gmail.com>
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
    • Stefan Tauner's avatar
      Add a bunch of new/tested stuff and various small changes 24 · 23e10b87
      Stefan Tauner authored
      Tested mainboards:
       - ASRock G31M-GS
         Reported by Александр Трубицын
       - ASRock G41M-VS3
         Reported by Александр Трубицын
       - ASRock N68C-S UCC
         Reported by Alexey Belyaev
       - ASRock AMCP7AION-HT (ION 330HT(-BD))
         Reported by Stefan Tauner
       - ASUS P5K SE
         Reported by Александр Трубицын
       - ASUS P5KPL-VM
         Reported by Marin Vlah
         Reported by stevessss on IRC
       - GIGABYTE GA-945GM-S2
         Reported by Александр Трубицын
       - GIGABYTE GA-945GCM-S2 (rev. 3.0)
         Reported by Александр Трубицын
       - GIGABYTE GA-965P-S3
         Reported by Александр Трубицын
       - GIGABYTE GA-EG43M-S2H
         Reported by Александр Трубицын
       - GIGABYTE GA-EP31-DS3L (rev. 1.0)
         Reported by Александр Трубицын
       - GIGABYTE GA-G33M-S2
         Reported by Александр Трубицын
       - GIGABYTE GA-G33M-S2L
         Reported by Александр Трубицын
       - GIGABYTE GA-H55M-S2
         Reported by Александр Трубицын
       - GIGABYTE GA-J1900N-D3V
         Reported by Marcos Truchado and Guillermo von Hünefeld
         Reported  by nicolae788
       - GIGABYTE GA-M56S-S3
         Reported by Estevo Paz Freire
       - GIGABYTE GA-P31-DS3L
         Reported by Александр Трубицын
       - GIGABYTE GA-P31-S3G
         Reported by Александр Трубицын
       - MSI MS-7336
         Reported by Benjamin Bellec
       - MSI X79A-GD45 (8D) (MS-7760)"
         Reported by mortehu on IRC
       - Supermicro A1SAi-2550F
         Reported by Bernard Grymonpon
       - Supermicro X7DWT
         Reported by Steven Stremciuc
       - ASUS U38N
         Reported by Ultra on IRC
       - Dell Latitude D630
         Reported by Márton Miklós
       - Fujitsu Amilo Xi 3650
         Reported by Elmar Stellnberger
       - Lenovo T400 (whitelisting only)
       - Mark 8086:1f38 (Intel Avoton/Rangeley) as tested
         Reported by Jeremy Porter and Bernard Grymonpon
       - Add Intel Sunrise Point IDs but no support yet.
      Flash chips:
       - Atmel AT45DB321D to PREW (+PREW)
         Reported by The Raven
       - Eon EN25QH32 to PREW (+PREW)
         Reported by Josua Mayer
       - Eon EN25QH64 to PREW (+EW)
         Reported by David s. Alessio
       - GigaDevice GD25LQ64(B) to PREW (+PREW)
         Reported by Greg Tippit
       - Intel 28F001BN/BX-T to PREW (+EW)
         Reported by Lu Xie
       - Micron M25P10-A to PREW (+W)
         Reported by the Raven
       - Micron M25PE40
         Reported by David Wood
       - Micron N25Q128..3E to PREW (+PREW)
         Reported by Miklós Márton
       - Macronix MX25L3273E to PREW (+PREW)
         Reported by Roklobsta on IRC
       - Macronix MX23L6454 to PR (+PR)
         Reported by Steven Honeyman
       - Macronix MX25U6435E/F to PREW (+PREW)
         Reported by Marcos Truchado and Guillermo von Hünefeld
       - PMC Pm25LQ032C to PREW (+EW)
         Reported by Dirk Knop
       - Spansion S25FL016A to PREW (+EW)
         Reported by Márton Miklós
       - Spansion S25FL128S......0 to PREW (+PREW)
         Reported by Jim Houston
       - Spansion S25FL204K to PR (+PR)
         Reported by Thomas Debrunner
       - SST SST49LF016C to PREW (+EW)
         Reported by Steven Stremciuc
       - SST SST39VF040 to PREW (+PREW)
         Reported by Xavier Bourgeois
       - SST SST49LF040B to PREW (+EW)
         Reported by Rikard Åhlund
       - ST M25P10-A to PREW (+W)
         Reported by Martijn Schiedon
       - Winbond W39V040FA to PREW (+EW)
         Reported by Евгений Черкашин
       - Winbond W39V080FA to PREW (+EW)
         Reported by protagonist0 on IRC
       - Winbond W25Q80.W to PREW (+PREW)
         Reported by Miklós Márton
       - Winbond W25X64 to PREW (+REW)
         Reported by Johannes Krampf and Manuel Dejonghe
       - Fix ID of AMIC A25LQ64
         Reported by Roman Titov
       - Fix page size of Spansion S25FL129P......1
         Copy and paste error from the 128S uniform 256kB variant, probably.
       - Add Micron/Numonyx phase-change memory IDs
       - Detect Android target OS.
         No changes are required to build flashrom (excluding programmers
         with NEED_PCI) on Android.
       - Update rayerspi (spipgm) URL
       - Fix max_data_write handling of at45db.
       - Minor refinement of the README
       - Mark board enable for the GA-K8NS variants as tested.
         Tested by "nicolae788" on a board with socket 754.
       - Mark "Multi-system" chassis as non-laptop case.
       - Remove W836xx log requests.
         We got enough (and no one is looking at them for the time being anyway).
       - serprog: improve invalid reply error message, contributed by Urja Rannikko.
       - Remove default include paths for MinGW.
       - Disable implicit rules in the Makefile because we don't need them and they
         just make the build (imperceptibly) slower.
       - Enable our own strnlen() implementation not only on DJGPP but also if
         HAVE_STRNLEN is not defined. This is needed to get older BSDs
         (e.g. NetBSD 6.0, FreeBSD < 8.0) to work.
       - Tiny other stuff.
      Corresponding to flashrom svn r1917.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
  5. 16 Jan, 2016 2 commits
  6. 14 Jan, 2016 2 commits
  7. 07 Jan, 2016 3 commits
  8. 04 Jan, 2016 5 commits
  9. 25 Dec, 2015 3 commits
  10. 22 Nov, 2015 1 commit
  11. 21 Nov, 2015 1 commit
  12. 14 Nov, 2015 2 commits
  13. 16 Oct, 2015 1 commit
  14. 05 Jul, 2015 1 commit
  15. 29 Jun, 2015 1 commit
  16. 28 Jun, 2015 1 commit
  17. 22 Jun, 2015 1 commit
  18. 20 Jun, 2015 1 commit
  19. 02 Jun, 2015 1 commit
  20. 23 May, 2015 1 commit
  21. 03 Apr, 2015 1 commit
  22. 01 Mar, 2015 2 commits
  23. 18 Feb, 2015 1 commit
    • Stefan Tauner's avatar
      Fix a number of problems in mstarddc_spi.c · adadca66
      Stefan Tauner authored
      Coverity has brought up the following problems:
       - CID 1270702: bad comparison of malloced pointer 'cmd'.
       - CID 1270701: a NULL pointer dereference possible because of above.
      Simply checking the return value of malloc in a valid way fixes both problems.
       - CID 1270699 and 1270700: Memory leak of i2c_device.
      This patch revamps the function in various ways to fix these issues and some
      other irritating bits.
      It reduces scopes of variables where possible, pushes the code towards our
      coding standards and introduces a label-based resource cleanup at the end.
      Corresponding to flashrom svn r1885.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarAlexandre Boeglin <alex@boeglin.org>
  24. 11 Feb, 2015 1 commit
  25. 10 Feb, 2015 1 commit