1. 18 Nov, 2008 2 commits
    • Carl-Daniel Hailfinger's avatar
      Check for failed SPI command execution · 598ec58e
      Carl-Daniel Hailfinger authored
      
      Although SPI itself does not have a mechanism to signal command failure,
      the SPI host may be unable to send a given command over the wire due
      to security or hardware limitations. The current code ignores these
      mechanisms completely and simply assumes almost every command succeeds.
      Complain if SPI command execution fails.
      
      Since locked down Intel chipsets (like the one we had problems with
      earlier) only allow a small subset of commands, find the common subset
      of commands between the chipset and the ROM in the chip erase case. That
      is accomplished by the new spi_chip_erase_60_c7() which can be used for
      chips supporting both 0x60 and 0xc7 chip erase commands.
      
      Both parts of the patch address problems seen in the real world. The
      increased verbosity for the error case will help us diagnose and address
      problems better.
      
      Corresponding to flashrom svn r345 and coreboot v2 svn r3757.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Otherwise: Acked-by: Stefan Reinauer <stepan@coresystems.de>
      598ec58e
    • Carl-Daniel Hailfinger's avatar
      Implement read support for the following Atmel chips · 76c28871
      Carl-Daniel Hailfinger authored
      
      AT25DF021
      AT25DF041A
      AT25DF081
      AT25DF161
      AT25DF321A
      AT25DF641
      AT25F512B
      AT25FS010
      AT25FS040
      AT26DF041
      AT26DF081A
      AT26DF161
      AT26DF161A
      AT26DF321
      AT26F004
      
      I double-checked the data sheets and am confident this will work.
      
      Corresponding to flashrom svn r344 and coreboot v2 svn r3756.
      Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
      Acked-by: default avatarStefan Reinauer <stepan@coresystems.de>
      76c28871
  2. 17 Nov, 2008 1 commit
  3. 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
  4. 08 Nov, 2008 1 commit
  5. 05 Nov, 2008 1 commit
  6. 04 Nov, 2008 1 commit
  7. 03 Nov, 2008 2 commits
  8. 02 Nov, 2008 2 commits
  9. 30 Oct, 2008 1 commit
  10. 29 Oct, 2008 2 commits
  11. 28 Oct, 2008 2 commits
  12. 26 Oct, 2008 1 commit
  13. 25 Oct, 2008 1 commit
  14. 21 Oct, 2008 1 commit
  15. 18 Oct, 2008 2 commits
  16. 15 Oct, 2008 1 commit
  17. 10 Oct, 2008 2 commits
  18. 07 Oct, 2008 1 commit
  19. 30 Sep, 2008 2 commits
  20. 29 Sep, 2008 2 commits
  21. 26 Sep, 2008 1 commit
  22. 10 Sep, 2008 1 commit
  23. 07 Sep, 2008 1 commit
  24. 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
  25. 02 Sep, 2008 1 commit
  26. 27 Aug, 2008 1 commit
  27. 20 Aug, 2008 1 commit
  28. 19 Aug, 2008 1 commit
  29. 12 Aug, 2008 1 commit
  30. 08 Aug, 2008 1 commit
  31. 02 Aug, 2008 1 commit