1. 28 Nov, 2008 2 commits
  2. 27 Nov, 2008 1 commit
    • Carl-Daniel Hailfinger's avatar
      Try RES even if RDID fails · 92a54ca0
      Carl-Daniel Hailfinger authored
      
      The existing check in probe_spi_res() was right for SPI controllers
      which support all commands, but may not exist. For controllers which
      support only a subset of commands, it will fail in unexpected ways. Even
      if a command is supported by the controller, it may be unavailable if
      the controller is locked down.
      
      The new logic checks if RDID could be issued and its return values
      made sense (not 0xff 0xff 0xff). In that case, RES probing is not
      performed. Otherwise, we try RES. There is one drawback: If RDID
      returned unexpected values, we don't issue a RES probe. However, in that
      case we should try to match RDID anyway.
      
      Corresponding to flashrom svn r348 and coreboot v2 svn r3774.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarFENG yu ning <fengyuning1984@gmail.com>
      92a54ca0
  3. 24 Nov, 2008 1 commit
  4. 18 Nov, 2008 3 commits
  5. 17 Nov, 2008 1 commit
  6. 15 Nov, 2008 1 commit
    • Carl-Daniel Hailfinger's avatar
      The AT25 and AT26 series SPI chips from Atmel are plain EEPROMs · d54ef6e7
      Carl-Daniel Hailfinger authored
      
      The AT45 series SPI chips are DataFlash EEPROMs which means they have
      odd (non-power-of-two) sector sizes, but some of the DataFlash chips can
      be configured or ordered with power-of-two sector sizes.
      
      Add probe support for the following Atmel SPI chips:
      AT25DF021
      AT25DF041A
      AT25DF081
      AT25DF161
      AT25DF321A
      AT25DF641
      AT25F512B
      AT25FS010
      AT25FS040
      AT26DF041
      AT26DF081A
      AT26DF161
      AT26DF161A
      AT26DF321
      AT26F004
      AT45CS1282
      AT45DB011D
      AT45DB021D
      AT45DB041D
      AT45DB081D
      AT45DB161D
      AT45DB321C
      AT45DB321D
      AT45DB642D
      
      Add an explanation why the following chips can't be probed:
      AT45BR3214B
      AT45D011
      AT45D021A
      AT45D041A
      AT45D081A
      AT45D161
      AT45DB011
      AT45DB011B
      AT45DB021A
      AT45DB021B
      AT45DB041A
      AT45DB081A
      AT45DB161
      AT45DB161B
      AT45DB321
      AT45DB321B
      AT45DB642
      
      Add the ID, but no probing function for this chip:
      AT25F512A
      
      Corresponding to flashrom svn r342 and coreboot v2 svn r3754.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Tested-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
      Tested-by: default avatarAndriy Gapon <avg@icyb.net.ua>
      Acked-by: default avatarMyles Watson <mylesgw@gmail.com>
      d54ef6e7
  7. 08 Nov, 2008 1 commit
  8. 05 Nov, 2008 1 commit
  9. 04 Nov, 2008 1 commit
  10. 03 Nov, 2008 2 commits
  11. 02 Nov, 2008 2 commits
  12. 30 Oct, 2008 1 commit
  13. 29 Oct, 2008 2 commits
  14. 28 Oct, 2008 2 commits
  15. 26 Oct, 2008 1 commit
  16. 25 Oct, 2008 1 commit
  17. 21 Oct, 2008 1 commit
  18. 18 Oct, 2008 2 commits
  19. 15 Oct, 2008 1 commit
  20. 10 Oct, 2008 2 commits
  21. 07 Oct, 2008 1 commit
  22. 30 Sep, 2008 2 commits
  23. 29 Sep, 2008 2 commits
  24. 26 Sep, 2008 1 commit
  25. 10 Sep, 2008 1 commit
  26. 07 Sep, 2008 1 commit
  27. 03 Sep, 2008 1 commit
    • Peter Stuge's avatar
      Only find "unknown .. SPI chip" if no other chip was found · 483b8f0c
      Peter Stuge authored
      
      This removes the false positive matches we've been seeing, and also removes
      the true positive match in case there is more than one flash chip and the 2nd
      or 3rd are unknown - but I think that case is uncommon enough to warrant the
      improvement in the common case. Use flashrom -frc forced read if you have the
      uncommon case, and/or please add the flash chip to the flashchips array.
      
      Corresponding to flashrom svn r313 and coreboot v2 svn r3562.
      Signed-off-by: default avatarPeter Stuge <peter@stuge.se>
      Acked-by: default avatarStefan Reinauer <stepan@coresystems.de>
      483b8f0c
  28. 02 Sep, 2008 1 commit
  29. 27 Aug, 2008 1 commit