1. 10 Oct, 2010 1 commit
    • Carl-Daniel Hailfinger's avatar
      Unify chip write functions · b30a5ed4
      Carl-Daniel Hailfinger authored
      The currently used write functions (wrappers) all use helpers which
      perform the actual write (inner functions).
      
      The signature of the write wrappers is: int write_chip(struct flashchip
      *flash, uint8_t * buf);
      
      The signature of the inner write functions varied a lot. This patch
      changes them to: int write_part(struct flashchip *flash, uint8_t *src,
      int start, int len);
      
      Did you know that flashrom has only 8 inner write functions for all
      flash chips? write_page_write_jedec_common write_sector_jedec_common
      write_sector_28sf040 spi_chip_write_256_new spi_chip_write_1_new
      spi_aai_write_new write_page_82802ab write_page_m29f400bt
      
      Export all inner write functions.
      
      Change the function signature of wait_82802ab to eliminate single-use
      variables.
      
      Remove an error message in write_page_m29f400bt which was printed for
      every byte written regardless of success.
      
      Add sharplhf00l04.c to the list of flash chip drivers in the Makefile.
      While the functions in there are unused, I suspect we will n...
      b30a5ed4
  2. 08 Oct, 2010 6 commits
  3. 07 Oct, 2010 1 commit
  4. 06 Oct, 2010 4 commits
  5. 05 Oct, 2010 11 commits
  6. 30 Sep, 2010 1 commit
  7. 29 Sep, 2010 1 commit
  8. 26 Sep, 2010 1 commit
  9. 25 Sep, 2010 1 commit
  10. 20 Sep, 2010 1 commit
  11. 18 Sep, 2010 1 commit
  12. 16 Sep, 2010 3 commits
  13. 15 Sep, 2010 7 commits
  14. 14 Sep, 2010 1 commit
    • Mattias Mattsson's avatar
      Various style/consistency fixes mainly for Winbond chips · a745cf46
      Mattias Mattsson authored
      Rename constants W_nnnn -> WINBOND_Wnnnn W_25nnn -> WINBOND_NEX_W25nnn.
      
      Kill incorrect ASD chip and vendor id.
      
      Group Winbond SPI and parallel chips separately (they have different
      vendor IDs).
      
      Change constant names to the "canonical" chip name for the following
      ids:
      
      W_29C020C (0x45)
       -> WINBOND_W29C020 (Same as W29C020C, W29C022 and ASD AE29F2008)
      
      W_29C040P (0x46)
       -> WINBOND_W29C040 ("P" is for package type [32-pin PLCC], irrelevant)
      
      W_29C011 + W_29EE011 (0xC1)
       -> WINBOND_W29C010 (Same as W29C010M, W29C011A, W29EE011, W29EE012,
          and ASD AE29F1008)
      
      
      List all chip variants in the .name strings in flashchips.c
      
      
      Have two identical entries for Winbond
      W29C010(M)/W29C011A/W29EE011/W29EE012 but with different probe functions
      in flashchips.c as sometimes (for newer revisions of these chips?) the
      standard jedec probe seems to work. E.g. see test report here:
      http://patchwork.coreboot.org/patch/1476/
      
      
      
      
      Also add ids for the following Winbond chips:
      W25Q40
      W25Q128
      W19B160BB
      W19B160BT
      W19B320SB/W19L320SB
      W19B320ST/W19L320ST
      W19B322MB
      W19B322MT
      W19B323MB
      W19B323MT
      W19B324MB
      W19B324MT
      W29C512A/W29EE512
      W39L010
      W39L040A
      W39L512
      W49F002/W49F002B
      
      Corresponding to flashrom svn r1168.
      Signed-off-by: default avatarMattias Mattsson <vitplister@gmail.com>
      Acked-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
      a745cf46