1. 10 Feb, 2015 1 commit
  2. 08 Feb, 2015 3 commits
    • Justin Chevrier's avatar
      Add support for the Microchip PICkit2 as an SPI programmer · 66e554bc
      Justin Chevrier authored
      This patch was inspired by the code in AVRDude (open source Atmel AVR
      programmer) to support the PICkit2 written by Doug Brown [1]. The
      Dediprog code in flashrom was used as the template for this code with
      some reference to the ft2232 code as well.
      
      [1] - https://github.com/steve-m/avrdude/blob/master/pickit2.c
      
      
      
      Corresponding to flashrom svn r1881.
      Signed-off-by: default avatarJustin Chevrier <jchevrier@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>
      66e554bc
    • Stefan Tauner's avatar
      Refine version check of libpci function pci_get_dev · 56734503
      Stefan Tauner authored
      
      The way more elegant check for the header fails unfortunately on CentOS 4.9
      because PCI_LIB_VERSION is not defined at all although the domain parameter
      is present. This patch jumps through the hoops via an additional check in the
      Makefile to determine if the function accepts 5 parameters (new version) or
      not (old version).
      
      Corresponding to flashrom svn r1880.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      56734503
    • Stefan Tauner's avatar
      Add a bunch of new/tested stuff and various small changes 22 · 5c316f95
      Stefan Tauner authored
      
      Tested mainboards:
      OK:
       - AOpen UK79G-1394 (used in EZ18 barebones)
         Reported by Lawrence Gough
       - ASUS M4N78 SE
         Reported by Dima Veselov
       - ASUS P5LD2-VM
         Mark board enable as tested (reported by Dima Veselov)
       - GIGABYTE GA-970A-UD3P (rev. 2.0)
         Reported by trucmar on IRC
       - GIGABYTE GA-990FXA-UD3 (rev. 4.0)
         Reported by ROKO__ on IRC
       - GIGABYTE GA-H77-DS3H (rev. 1.1)
         Reported by Evgeniy Edigarev
       - GIGABYTE GA-P55-USB3 (rev. 2.0)
         Reported by Måns Thörnqvist
       - MSI MS-7817 (H81M-E33)
         Reported by Igor Kolker
      
      Chipsets:
       - Marked Intel Bay Trail (0x0f1c) as tested OK
         Reported by Antonio Ospite
       - Refine Intel IDs
          * Add IDs for Braswell
          * Add IDs for 9 Series PCHs (e.g. H97, Z97)
          * Rename Wellsburg devices slightly
      
      Flash chips:
       - Atmel AT25DF041A to PREW (+PREW)
         Reported by Tai-hwa Liang
       - Atmel AT26DF161 to PREW (+EW)
         Reported by Steve Shenton
       - Atmel AT45DB011D to PREW (+PREW)
         Reported by The Raven
       - Atmel AT45DB642D to PREW (+PREW)
         Reported by Mahesh Mokal
       - Eon EN25F32 to PREW (+PREW)
         Reported by Arman Khodabande
       - Eon EN25F40 to PREW (+REW)
         Reported by Jerrad Pierce
       - Eon EN25QH16 to PREW (+EW)
         Reported by Ben Johnson
       - GigaDevice GD25Q20(B) to PREW (+PREW)
         Reported by Gilles Aurejac
       - Macronix MX25U6435E/F to PR (+PR)
         Reported by Matt Taggart
       - PMC Pm25LV512(A) to PREW (+PREW)
         Reported by The Raven
       - SST SST39VF020 to PREW (+PREW)
         Reported by Urja Rannikko
       - Winbond W25Q40.V to PREW (+EW)
         Reported by Torben Nielsen
       - Add E variants of MX25Lx006 (MX25L2006E, MX25L4006E, MX25L8006E).
       - Add MX25L6465E variant.
       - There was never a MX25L12805 AFAICT.
       - Split MX25L12805 from models with the same ID but an additional 32 kB
         eraser: MX25L12835F/MX25L12845E/MX25L12865E.
       - Add a bunch of ST parallel NOR flash chip IDs.
      
      Miscellaneous:
       - Whitelist ThinkPad X200.
       - Constify master parameter of register_master().
       - Remove FEATURE_BYTEWRITES because it was never used at all.
       - Refine hwseq messages and make them less prominent.
       - Fix the yet unused PRIxCHIPADDR format string thingy.
       - Fix copy&paste error in spi_prettyprint_status_register_bp().
         Spotted by Pablo Cases.
       - Add an additional SMBus controller revision to identify another Yangtze
         model. Thanks to Dan Christensen for reporting this issue.
       - dediprog: add missing include for stdlib.h.
         This fixes (at least) building on FreeBSD and DragonflyBSD with gcc.
       - Remove references to struct pci_filter from programmer.h.
         It is only needed in internal.c where it has a complete type. Having
         it in programmer.h provokes a warning by some old versions of gcc.
       - Tiny other stuff.
      
      Corresponding to flashrom svn r1879.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      5c316f95
  3. 27 Jan, 2015 1 commit
  4. 26 Jan, 2015 2 commits
  5. 25 Jan, 2015 4 commits
  6. 24 Jan, 2015 2 commits
  7. 19 Jan, 2015 1 commit
  8. 10 Jan, 2015 7 commits
  9. 05 Jan, 2015 1 commit
  10. 20 Dec, 2014 2 commits
  11. 12 Dec, 2014 1 commit
    • Jernej Škrabec's avatar
      Add support for Spansion S25FL127S · e814a9b6
      Jernej Škrabec authored
      
      This flash chip can be configured (one time) to use 64 KiB or 256 KiB sectors.
      Additionally, in the 64 KiB mode it supports 16 4 KiB sub-sectors that can be
      (one time) programmed to be on the top or bottom of the device. The sub-sectors
      can be erased with the 0x20 opcode but because this opcode does not work
      with the remaining sectors and flashrom can not cope with that the 0x20
      opcode is not supported yet.
      
      This patch adds two definitions, one for the 64 KiB and 256 KiB configuration
      respectively. The device also shares the RDID with the various S25FL128
      devices so we have to increase the maximum number of successfully probed
      chips to 8.
      
      The 64 KiB mode was tested on real hardware.
      
      Corresponding to flashrom svn r1858.
      Signed-off-by: default avatarJernej Škrabec <jernej.skrabec@planet.si>
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      e814a9b6
  12. 07 Dec, 2014 1 commit
  13. 05 Dec, 2014 1 commit
  14. 30 Nov, 2014 1 commit
  15. 01 Nov, 2014 2 commits
  16. 19 Oct, 2014 2 commits
  17. 09 Sep, 2014 1 commit
  18. 05 Sep, 2014 1 commit
  19. 31 Aug, 2014 1 commit
  20. 30 Aug, 2014 1 commit
    • Stefan Tauner's avatar
      Refine physical address mapping of flash chips · 4e32ec19
      Stefan Tauner authored
      
       - Create distinct functions for mapping and unmapping for flash chips.
       - Map only when needed: map before probing and unmap immediately
         after it. Map again when a single chip was probed successfully before
         taking any actual actions and clean up afterwards.
       - Map special function chip registers centrally together with flash space
         instead of within (some) probing methods after successful probes.
       - Save the used base addresses of the mappings in struct flashctx as well.
       - Do not try to (un)map the zero-sized chip definitions that are merely hacks.
         This also fixes the printing of wrong warnings for these chip definitions
         introduced in r1765.
      
      Corresponding to flashrom svn r1847.
      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>
      4e32ec19
  21. 20 Aug, 2014 4 commits