summaryrefslogtreecommitdiffstats
path: root/flashchips.c
Commit message (Collapse)AuthorAgeFilesLines
* Add support for the AMIC A25L80PDaniel Lenski2010-07-111-0/+31
| | | | | | | | | | | | | | | | | This is a 1 MB SPI chip that seems to be straightforwardly related to the AMIC A25L40PU, which has half the capacity but is otherwise identical. Datasheet is at http://www.amictechnology.com/pdf/A25L80P.pdf flashrom -VE, -Vr, and -Vw has been tested using the AMD SB7x0 interface. Everything works fine... at least, I used it to upgrade my BIOS and I've been able to reboot. Corresponding to flashrom svn r1075. Signed-off-by: Daniel Lenski <dlenski@gmail.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Fix read function for EMST F25L008AMichael Karcher2010-07-101-1/+1
| | | | | | | | | | | SPI chips never should use read_memmapped. The SPI master code might decide that read_memmapped is fine for this chip, though, in a lower layer. Corresponding to flashrom svn r1074. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* SST39VF010 tested, worksGuenter Knauf2010-06-241-1/+1
| | | | | | | Corresponding to flashrom svn r1060. Signed-off-by: Guenter Knauf <lists@gknw.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Add Winbond W25Q64 supportDavid Hendricks2010-06-241-0/+34
| | | | | | | | | Tested. Corresponding to flashrom svn r1059. Signed-off-by: David Hendricks <dhendrix@google.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Add support for Hyundai HY29F002 and HY29F002BDavid Borg2010-06-211-0/+62
| | | | | | | Corresponding to flashrom svn r1056. Signed-off-by: David Borg <borg.db@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Add EMST F25L008A SPI chipMichael Karcher2010-06-191-0/+31
| | | | | | | Corresponding to flashrom svn r1050. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Add SST25LF040A supportStefan Reinauer2010-06-141-0/+28
| | | | | | | | | | Checked against datasheets, should work. Corresponding to flashrom svn r1045. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Support Atmel AT49F020 256kB parallel flashAndrew Morgan2010-06-071-0/+23
| | | | | | | Corresponding to flashrom svn r1036. Signed-off-by: Andrew Morgan <ziltro@ziltro.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Mark the following chip as supportedUwe Hermann2010-05-301-1/+1
| | | | | | | | | | | - Winbond W39V040FA (reported by Guenter <lists@gknw.net>) Read (thus also probe), write (thus also erase), and verify tested. http://www.flashrom.org/pipermail/flashrom/2010-May/003078.html Corresponding to flashrom svn r1020. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Update the status for the following chipsUwe Hermann2010-05-301-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Eon EN25F80 (reported by oops66 <oops66@wanadoo.fr>) Probe and read tested. http://www.flashrom.org/pipermail/flashrom/2010-May/003183.html - AMIC A49LF040A (reported by Guenter <lists@gknw.net>) Read (thus also probe), write (thus also erase), and verify tested. http://www.flashrom.org/pipermail/flashrom/2010-May/003078.html Also reported by Robert Grasso <robert.grasso@modulonet.fr>. http://www.flashrom.org/pipermail/flashrom/2010-May/003006.html - SST SST49LF008A (reported by Marco Giacinti <marcogiacinti@hotmail.it>) Erase tested. http://www.flashrom.org/pipermail/flashrom/2010-May/003010.html - SST SST29EE020A (reported by Anders Jenbo <anders@jenbo.dk>) Write (and thus erase) tested. http://www.flashrom.org/pipermail/flashrom/2010-April/002961.html - SST SST49LF040 (reported by David Westberg <david@uarda.dlinkddns.com>) Probe and read tested. http://www.flashrom.org/pipermail/flashrom/2010-April/002862.html - Winbond W39V080FA (reported by Maciej Żenczykowski <zenczykowski@gmail.com>) All operations tested. http://www.flashrom.org/pipermail/flashrom/2010-April/002863.html - Winbond W29C020C (reported by Urja Rannikko <urjaman@gmail.com>) Erase tested. http://www.flashrom.org/pipermail/flashrom/2010-April/002847.html - PMC Pm39LV010 (reported by Tim Small <tim@seoss.co.uk>) Write (and thus also erase) tested. http://www.flashrom.org/pipermail/flashrom/2010-March/002711.html Corresponding to flashrom svn r1019. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Unlocking for W39V040FAMichael Karcher2010-05-301-1/+3
| | | | | | | Corresponding to flashrom svn r1018. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Add support for two-byte RES probesCarl-Daniel Hailfinger2010-05-281-7/+7
| | | | | | | | | | | | Some chips implement the RES (0xab) opcode, but they use a non-standard two byte response instead of the usual one byte response. A two-byte response has the accuracy of REMS and RDID, so don't check for REMS/RDID availability before running a two-byte RES. Corresponding to flashrom svn r1017. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coresystems.de>
* Mark the following chips as OKUwe Hermann2010-05-251-6/+6
| | | | | | | | | | | | | | | | | | - PMC Pm49FL004 - SST SST49LF020 - SST SST49LF020A - SST SST49LF040B - SST SST49LF080A - Winbond W39V040B I tested all operations on hardware using r997. Only on SST49LF040B write/erase does not seem to work, will investigate later (probe/read works, though). Corresponding to flashrom svn r1012. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Add support for Winbond W25Q80, W25Q16 and W25Q32Rudolf Marek2010-04-201-0/+102
| | | | | | | | | I tested read/write/probe with W25Q80. Corresponding to flashrom svn r994. Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Acked-by: David Hendricks <dhendrix@google.com>
* Intel 28F004/28F400 supportMichael Karcher2010-04-031-0/+110
| | | | | | | | | | | | | | | | | Remove blockwise write for i82802ab chips. It will be reintroduced in post-0.9.2 in a generic way. This is needed to fix FWH-like chips with non-uniform sectors. These are: Intel 28F001 Sharp LHF00L04 ST M50FW002 ST M50LPW116 Corresponding to flashrom svn r991. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Add PMC Pm39LV020 and Pm39LV040Anders Juel Jensen2010-03-271-1/+59
| | | | | | | Corresponding to flashrom svn r988. Signed-off-by: Anders Juel Jensen <andersjjensen@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Polish the flashrom code comments and outputs a bitUwe Hermann2010-03-251-1/+1
| | | | | | | | | | | - Fix a number of typos (found via ispell). - Use correct vendor names (as per their websites) consistently. Corresponding to flashrom svn r985. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Add success reportsMichael Karcher2010-03-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PMC Pm39LV010: See http://www.coreboot.org/pipermail/flashrom/2010-March/002711.html Thanks to Tim Small for reporting! Supermicro X8DTT-F: See http://www.coreboot.org/pipermail/flashrom/2010-March/002707.html Thank to Taylan Develioglu for testing! Gigabyte GA-965P-DS4: See http://www.coreboot.org/pipermail/flashrom/2010-March/002426.html Thanks to Michal Andrzejczak for reporting! Tyan Tempest i5000PW: See http://www.coreboot.org/pipermail/flashrom/2010-February/002358.html Thanks to Rob Lazzurs for reporting! PCEngines WRAP.2E: See http://www.coreboot.org/pipermail/flashrom/2010-February/002187.html Thanks to Vincenzo Caruso for testing! Asus P5B: This board has been reporting as working (for r710/0.9.1) in: http://www.coreboot.org/pipermail/flashrom/2010-February/002170.html Thanks to Patrice Levesque for testing! MSI 7312 (K9MM-V) + W39V040B: See http://www.coreboot.org/pipermail/flashrom/2010-February/002159.html Thanks to David Mears for testing! Probe + Read on SST49LF080A: See http://www.coreboot.org/pipermail/flashrom/2010-February/002095.html Thanks to Peter Lemenkov for testing! Finally: remove Asus A7V8X-X from "boards_ok", as this table is meant only for boards not needing a board enable. Corresponding to flashrom svn r984. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Flashrom works on Acer Aspire 1520 (Laptop) with W39V040AMichael Karcher2010-03-241-1/+1
| | | | | | | | | | | See http://www.coreboot.org/pipermail/flashrom/2010-March/002451.html Thanks to Paweł Stawicki for reporting! Corresponding to flashrom svn r980. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* MSI MS6330 tested with W49F002U and EN29F002Michael Karcher2010-03-241-2/+2
| | | | | | | | | | | | | | | W49F002U: http://www.coreboot.org/pipermail/flashrom/2010-March/002469.html EN29F002: http://www.coreboot.org/pipermail/flashrom/2010-March/002480.html Block erase was broken, chip erase worked, block erase is fixed in r934 but has not been tested since. Thanks to Guy Lacroix for reporting! Corresponding to flashrom svn r978. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Abit VT6X4 + Winbond W29C020C and Asus A7V133 + Atmel AT29C010A workMichael Karcher2010-03-241-2/+2
| | | | | | | | | | | | | | | | | Abit VT6X4 / W29C020C: See http://www.coreboot.org/pipermail/flashrom/2010-March/002730.html Fixes typo in comment and marks board-enable as tested (the flashrom running on that machine was patched with the board enable that got in later). Asus A7V133 / Atmel AT29C010A: See http://www.coreboot.org/pipermail/flashrom/2010-March/002729.html Adding "erase" to tested as there is only one erase function. Corresponding to flashrom svn r975. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Probe/Read tested for SST29EE020AMichael Karcher2010-03-241-1/+1
| | | | | | | | | | http://www.flashrom.org/pipermail/flashrom/2010-February/002318.html Thanks to Andre Robatino for reporting! Corresponding to flashrom svn r974. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Sst49lfxxxc chips are functionally the same as 82802ab chipsSean Nelson2010-03-231-4/+7
| | | | | | | | | | | | | | Sst49lfxxxc software status register is functionally the same as the 82802ab status register, "Block Protect Status"(49lfxxxc) can be treated the same as "Device Protect Status"(82802ab). Erase_block_49lfxxxc is the same command sequence as erase_block_82802ab. Add unlock_49lfxxxc to chips definitions. Write_sector_49lfxxxc is the same as write_page_82802ab. Corresponding to flashrom svn r972. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Clang complains loudly when there are duplicate printlock_sst_fwhub, gcc ↵Sean Nelson2010-03-221-4/+0
| | | | | | | | | | | ignores them Ack via IRC. Corresponding to flashrom svn r969. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* To access/read the lock bits, we use the same mode to read the chip idSean Nelson2010-03-221-6/+5
| | | | | | | | | | | | | | This patch looks into the write situation for the Intel 28F001BX-{B,T}. Looks like they're just a 82802ab page write. Unlock_28f004s5 has been changed to read all the lock bits and if at least one of the block lock bits are set, clear them all. If the master lock bit is set, we can't do anything about it, so we return. Corresponding to flashrom svn r965. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Fix some problems introduced in commit r948 brought up by carldaniSean Nelson2010-03-201-4/+1
| | | | | | | | | | | | | The Intel 28F001BX-T/B chips don't have block locks or mention of registers; chip is old. The Intel 28F004S5 mentions block locks which require a remapping registers. Corresponding to flashrom svn r960. The Intel 28F004S5 mentions block locks which require a remapping registers. Fixes problems brought up by carldani because of commit r948. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Various JEDEC refactorings touching 82802ab.c, sharplhf00l04.c and ↵Sean Nelson2010-03-191-29/+44
| | | | | | | | | | | | | | | | | | | stm50flw0x0x.c Rename print_82802ab_status to print_status_82802ab add unlock_82802ab strip unlock code from erase_block_82802ab rename erase_82802ab_block to erase_block_80280ab delete sharplhf00l04.o from Makefile delete *_lhf00l04* from chipdrivers.h. add unlock_stm50flw0x0x delete wait_stm50flw0x0x delete write_page_stm50flw0x0x convert erase_stm50flw0x0x to erase_chip_stm50flw0x0x delete write_stm50flw0x0x add unlock_82802ab to two Intel chips with TEST_BAD_WRITE change the status of 82802AB, 82802AC, M50FW040, M50FW080 to TEST_OK_PR Corresponding to flashrom svn r948. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Mark a bunch of parallel chips I tested as TEST_OK_PRWUwe Hermann2010-03-171-12/+12
| | | | | | | | | | | | All operations for these chips were tested on hardware. ERASE is not marked as working yet, as there are multiple erase functions per chip and only one was (successfully) tested. I'll redo the ERASE test when the respective infrastructure in flashrom is there. Corresponding to flashrom svn r945. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Further cleanup after JEDEC refactoringsSean Nelson2010-03-161-12/+20
| | | | | | | | | | | Convert _sst_fwhub functions to jedec. Corresponding to flashrom svn r943. kill unused sst_fwhub.c functions make unlock_* check if unlock was successful and only return 0 when fully successful Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Add FEATURE_REGISTERMAP to some more chips and change the use of various ↵Carl-Daniel Hailfinger2010-03-151-31/+35
| | | | | | | | | | | | | | | | | probing functions Add FEATURE_REGISTERMAP to * Intel 82802AB, 82802AC * Sharp LHF00L04 * SST SST49LF004C, SST49LF008C, SST49LF016C, SST49LF160C * ST M50FLW040A, M50FLW040B, M50FLW080A, M50FLW080B, M50FW002, M50FW016 M50FW040, M50FW080, M50LPW116. Make register mapping conditional on FEATURE_REGISTERMAP in 82802ab.c. Replace probe_49lfxxxc with probe_82802ab. Replace probe_28sf040 with probe_82802ab. Replace probe_sst_fwhub with probe_jedec. Add printlock_sst_fwhub to chips which used probe_sst_fwhub. Corresponding to flashrom svn r937. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Fix EN29F002 Top/Bottom Boot BlockMichael Karcher2010-03-131-6/+6
| | | | | | | | | | | See http://www.coreboot.org/pipermail/flashrom/2010-March/002480.html for effects of mixup: blockwise erase will fail, fallback to chip erase works. Corresponding to flashrom svn r934. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Mark PMC Pm49FL002 as testedRuss Dill2010-03-091-1/+1
| | | | | | | | | This chip is on my ASUS A7V8X-X mainboard. Corresponding to flashrom svn r928. Signed-off-by: Russ Dill <Russ.Dill@gmail.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Add support for Eon EN29F010Russ Dill2010-03-051-0/+27
| | | | | | | | | | | Tested by Russ Dill. Checked against datasheet by Sean Nelson. Datasheet: http://www.essi.com.tw/upfile/p2008929171446.pdf Corresponding to flashrom svn r921. Signed-off-by: Russ Dill <Russ.Dill@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Convert the remaining references to *_49fl00xSean Nelson2010-02-271-3/+4
| | | | | | | | | | | | | Now the only remaining and used function in pm49fl00x.c is unlock_49fl00x. Also: - Add missing unlock to AMIC A49LF040A. - Add lock_49fl00x function. Corresponding to flashrom svn r917. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Split spi.c into programmer and chip code Remove chipdriver.h include from ↵Sean Nelson2010-02-261-0/+1
| | | | | | | | | | | | | | | | | | | flash.h Some of the spi programmer drivers required chipdrivers.h, needs fixing later: it87spi.c ichspi.c sb600spi.c wbsio_spi.c buspirate_spi.c ft2232spi.c bitbang_spi.c dediprog.c Corresponding to flashrom svn r914. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Here's a very quick patch to fix the missing unlock codeSean Nelson2010-02-191-6/+8
| | | | | | | | | | | | | | | | | | | | | | | Fixes missing unlock for certain chips: * unlock_49lf00x * Pm49fl002 * Pm49fl004 * unlock_49flxxxc * SST49LF160C * unlock_winbond_fwhub * W39V080FA * W39V080FA (dual mode) Fixes missing printlock for certain chip: * printlock_w39v040c * W39V040C Corresponding to flashrom svn r907. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Kill an erroneous .erase introduced in r900Carl-Daniel Hailfinger2010-02-131-1/+0
| | | | | | | Corresponding to flashrom svn r901. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Adds support for the Intel E28F004S5 flash chipSean Nelson2010-02-131-0/+23
| | | | | | | Corresponding to flashrom svn r900. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Fix erase blocks for Winbond W25X{10,20,40,80} SPI chipsSean Nelson2010-02-121-24/+0
| | | | | | | | | | The Winbond W25X10 and related chips only have 4k and 64k blocks and only accept erase commands: 20h, d8h, and c7h. Corresponding to flashrom svn r897. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: David Hendricks <dhendrix@google.com>
* At long last, the day has come, and we can bury full-chip erase once and for allCarl-Daniel Hailfinger2010-02-111-217/+6
| | | | | | | | | | | | | | Back in November 2008(!) I proposed the first version of the flexible sector-based erase structure, and now we can finally rip out the old full-chip erase code without ill effects. Rejoice and party! Thanks to everyone who made this possible, especially to Sean Nelson who converted the majority of flash chips to sector erase. Corresponding to flashrom svn r895. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Adds support for ST M29W512BJeffrey A. Kent2010-02-011-0/+24
| | | | | | | | | Tested and works for me. Corresponding to flashrom svn r888. Signed-off-by: Jeffrey A. Kent <jakent@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Complete the addition of Feature Bits for all Jedec based chipsSean Nelson2010-01-281-183/+275
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add FEATURE_SHORT_RESET, FEATURE_LONG_RESET, and FEATURE_EITHER_RESET rewrite jedec functions to use getaddrmask convert write_49f002 to write_jedec_1 convert write_w39v040c to write_jedec_1 convert probe_w39v040c to probe_jedec convert write_49lf040 to write_jedec_1 convert write_pm29f002 to write_jedec convert write_29f040b to write_jedec_1 convert probe_29f040b to probe_jedec convert erase_chip_29f040b to erase_chip_block_jedec convert erase_sector_29f040b to erase_sector_jedec convert write_m29f002b to write_jedec convert write_m29f002t to write_jedec convert *_29f002 to *_jedec decouple unused files from Makefile: am29f040b.c en29f002a.c m29f002.c mx29f002.c pm29f002.c sst49lf040.c w39v040c.c w49f002u.c Corresponding to flashrom svn r886. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Anders Juel Jensen <andersjjensen@gmail.com>
* Add support for the SST39SF512 chipUwe Hermann2010-01-231-0/+26
| | | | | | | | | All operations tested by me, works fine. Corresponding to flashrom svn r881. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Convert various SST chips to use block_erasersSean Nelson2010-01-201-44/+330
| | | | | | | | | | | | | | | | | | | | Convert the following chips to block_erasers: SST28SF040A SST29EE010 SST29LE010 SST29EE020A SST29LE020 SST39SF010A SST39SF020A SST39SF040 SST39VF512 SST39VF010 SST39VF020 SST39VF040 SST39VF080 SST49LF002A/B SST49LF003A/B SST49LF004C SST49LF008A SST49LF008C SST49LF016C SST49LF020 SST49LF020A SST49LF040 SST49LF040B SST49LF080A SST49LF160C . Extend sst28sf040 to include chip and sector functions for block_eraser. Extend sst49lfxxxc to include chip, sector, block erasers functions for block_erasers. Extend sst_fwhub to include chip and sector functions for block_erasers. Add copyrights to changed files. Killed erase_sst_fwhub. Killed erase_49lfxxxc. NULL A/A mux mode full chip erasers. Ignore block locks in erase/write. Change comments from "PP mode" to "A/A mux mode" Corresponding to flashrom svn r877. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Fix SyncMOS S29C51004T, which has 512 uniform 1k sectorsSean Nelson2010-01-191-1/+1
| | | | | | | Corresponding to flashrom svn r873. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Convert ST to block erasersSean Nelson2010-01-191-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ST M25P05-A ST M25P05.RES ST M25P10-A ST M25P10.RES ST M25P20 ST M25P40 ST M25P40-old ST M25P80 ST M25P16 ST M25P32 ST M25P64 ST M25P128 ST M29F002B ST M29F002T/NT ST M29F040B ST M29F400BT ST M29W010B ST M29W040B ST M50FLW040A ST M50FLW040B ST M50FLW080A ST M50FLW080B ST M50FW002 ST M50FW016 ST M50FW040 ST M50FW080 ST M50LPW116 Add erase_chip_stm50flw0x0x to stm50flw0x0x.c Add copyright to stm50flw0x0x.c Fix block sizes and counts Omit M50FLW0x0x mixed sector/block eraser Convert the used 82802ab functions to their stm50flw0x0x equivalents Fix incorrect sizes as found by Carl-Daniel. Add back M50FLW0x0x mixed sector/block eraser sans function pointer. Corresponding to flashrom svn r872. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Block eraser conversions and support for Eon EN25B seriesSean Nelson2010-01-191-43/+409
| | | | | | | | | | | | | | | | | | Convert chips to block_erasers: SyncMOS S29C31004T SyncMOS S29C51001T SyncMOS S29C51002T SyncMOS S29C51004T TI TMS29F002RT TI TMS29F002RB SyncMOS chips have Uniform sector; boot blocks on chips are made up of uniform sectors but have locking. Corresponding to flashrom svn r871. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Converted chips to block_erasersSean Nelson2010-01-191-35/+314
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | W_25X10 W_25X20 W_25X40 W_25X80 W_25X16 W_25X32 W_25X64 W_29C011 W_29C020C W_29C040P W_29EE011 W_39V040A W_39V040B W_39V040C W_39V040FA W_39V080A W_49F002U W_49V002A W_49V002FA W_39V080FA W_39V080FA_DM Corresponding to flashrom svn r868. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Block eraser conversions and support for Eon EN25B seriesSean Nelson2010-01-191-21/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | Convert chips to block_erasers: ST_M25PE10 ST_M25PE20 ST_M25PE40 ST_M25PE80 ST_M25PE16 PMC_25LV010 PMC_25LV016B PMC_25LV020 PMC_25LV040 PMC_25LV080B PMC_25LV512 PMC_39F010 PMC_49FL002 PMC_49FL004 SANYO_LE25FW203A SPANSION_S25FL016A Added spi_block_erase_d7 for PMC chips. Corresponding to flashrom svn r867. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Fix A25L40PU and A2540PT due to incorrect full-chip block size is incorrectSean Nelson2010-01-181-2/+2
| | | | | | | | Corresponding to flashrom svn r865. Thanks to hailfinger's self-check-erase routine for catching this. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
OpenPOWER on IntegriCloud