summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* In unlock_28f004s5, variable 'i' needs to be int...Sean Nelson2010-03-221-1/+2
| | | | | | | Corresponding to flashrom svn r967. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Fix a few typos from the last commitSean Nelson2010-03-222-2/+3
| | | | | | | Corresponding to flashrom svn r966. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
* To access/read the lock bits, we use the same mode to read the chip idSean Nelson2010-03-222-6/+54
| | | | | | | | | | | | | | 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>
* Multibyte SPI write for the Bus PirateCarl-Daniel Hailfinger2010-03-223-2/+38
| | | | | | | Corresponding to flashrom svn r964. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Add DOS cross-compilation support to the MakefileCarl-Daniel Hailfinger2010-03-212-7/+57
| | | | | | | | | Add a README with build instructions. Corresponding to flashrom svn r963. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Rudolf Marek <r.marek@assembler.cz>
* Adds board enable to Termtek TK-3370 thin client motherboardDaniel Brandt2010-03-211-0/+12
| | | | | | | Corresponding to flashrom svn r962. Signed-off-by: Daniel Brandt <dbr@mindglow.se> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Unlock fixupSean Nelson2010-03-202-2/+2
| | | | | | | Corresponding to flashrom svn r961. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* 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>
* Rebased Board Enable Patch: iBase MB899Luc Verhaegen2010-03-191-0/+9
| | | | | | | Corresponding to flashrom svn r959. Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: Abit AN-M2Sean Nelson2010-03-191-0/+1
| | | | | | | | | Original patch by: Luc Verhaegen. Corresponding to flashrom svn r958. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Reversed-engineered board enable for the ASUS A8N-LASean Nelson2010-03-191-0/+2
| | | | | | | | | | | | | Rebased. IDs are ISA and SMBus. Added DMI string to match 3 HP boards: Nagami, Nagami2, Nagami2L. This could match any HP Nagami board. Needs testing. Corresponding to flashrom svn r957. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: 2nd attempt to fix board detection on GA-MA74GM-S2HPeter Lemenkov2010-03-191-1/+1
| | | | | | | | | | | | | This board (GA-MA74GM-S2H) has the same list of pciids as the GA-MA78M-S2H, so I narroved search conditions by populating corresponding board_pciid_enable entry for GA-MA78M-S2H with DMI pattern. Untested! Corresponding to flashrom svn r956. Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: Asus P4B533-EMichael Karcher2010-03-191-0/+2
| | | | | | | Corresponding to flashrom svn r955. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: Factor out Via Apollo GPO settingMichael Karcher2010-03-191-9/+37
| | | | | | | | | The board enable for the VT6X4 committed in r950 actually depended on this commit. Corresponding to flashrom svn r954. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: A8JM board_enable patchJames Lancaster2010-03-191-1/+10
| | | | | | | Corresponding to flashrom svn r953. Signed-off-by: James Lancaster <deathstalker@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: Abit KN8 UltraSean Nelson2010-03-191-0/+9
| | | | | | | | | Patch by Chris <zinx+flashrom@zenthought.org> Corresponding to flashrom svn r952. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: Intel SE440BX-2Michael Karcher2010-03-191-0/+9
| | | | | | | | | | | This board has no subsystem IDs, but thankfully the DMI patch is in now, which is a real life safer. There are *WAY* to many 440BX/PIIX4 boards out there to match this without DMI. Corresponding to flashrom svn r951. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: Abit VT6X4Michael Karcher2010-03-191-0/+9
| | | | | | | | | | | | This board has *no* usable IDs at all, neither DMI nor PCI subsystem IDs. You have to force it using "-m abit:vt6x4" Try 3: really correct polarity of the GPIO Corresponding to flashrom svn r950. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: Add Asus A8NLuc Verhaegen2010-03-191-0/+1
| | | | | | | Corresponding to flashrom svn r949. Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Various JEDEC refactorings touching 82802ab.c, sharplhf00l04.c and ↵Sean Nelson2010-03-196-188/+88
| | | | | | | | | | | | | | | | | | | 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>
* Add board enable for P4C800-EMichael Karcher2010-03-172-0/+3
| | | | | | | | | | Lspci/flashrom/superiotool at http://www.coreboot.org/pipermail/flashrom/2010-March/002579.html Corresponding to flashrom svn r947. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* PCI device BARs of all types had only bits 1:0 cleared while reading the addressCarl-Daniel Hailfinger2010-03-171-1/+17
| | | | | | | | | | | | That was correct for IO BARs, but failed to mask bit 3:2 for MEM BARs, resulting in odd offsets for prefetchable MEM BARs and for 64-bit capable MEM BARs. Mask the correct number of bits for all types of BARs and add some debug printing about BAR type. Corresponding to flashrom svn r946. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* 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>
* Add MS-DOS crosscompilation supportRudolf Marek2010-03-163-2/+132
| | | | | | | | | Tested, works fine. Part 1: Code changes. Corresponding to flashrom svn r944. Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Further cleanup after JEDEC refactoringsSean Nelson2010-03-163-110/+30
| | | | | | | | | | | 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>
* Clean up sst28sf040.c after JEDEC refactoringsSean Nelson2010-03-162-27/+0
| | | | | | | | | | Remove function probe_28sf040. Corresponding to flashrom svn r942. delete references to dead sharplhf00l04.c and sst29sf040.c functions from chipdrivers.h Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Clean up sharplhf00l04.c after JEDEC refactoringsSean Nelson2010-03-162-28/+5
| | | | | | | | | | | - remove some copied functions (from 82802ab.c) and use the 82802ab equivalents - fix missing prototypes to *_82802ab functions Corresponding to flashrom svn r941. fix missing prototypes to _82802ab functions Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Kill dead w39v080fa.c functionsSean Nelson2010-03-162-69/+0
| | | | | | | Corresponding to flashrom svn r940. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Kill dead w39v040c.c functionsSean Nelson2010-03-162-72/+0
| | | | | | | Corresponding to flashrom svn r939. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Kill dead pm49fl00x.c functionsSean Nelson2010-03-161-69/+0
| | | | | | | Corresponding to flashrom svn r938. 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-154-39/+40
| | | | | | | | | | | | | | | | | 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>
* Skip DMI laptop check if DMI doesn't workMichael Karcher2010-03-141-20/+6
| | | | | | | | | Also further removes dead code from dmi.c and adds a missing newline. Corresponding to flashrom svn r936. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Enabling Gigabyte GA-MA69VM-S2Raúl Soriano2010-03-143-0/+3
| | | | | | | | | | This board has a supported chipset and a supported bios, but it's connected indirectly through IT8716 and not recognized. Corresponding to flashrom svn r935. Signed-off-by: Raúl Soriano <GatoLoko@gmail.com> 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>
* Various coding style and cosmetic changesUwe Hermann2010-03-138-82/+79
| | | | | | | | | | | | | - Fix coding-style, whitespace, and indentation in a few places. - Consistently use the same spelling ("Super I/O") everywhere. Corresponding to flashrom svn r933. - Make some flashrom stdout output look a bit nicer. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Patch: Manpage: Move description of layout file into the right placeJoerg Mayer2010-03-131-24/+24
| | | | | | | | | | Move the description of the layout file out of the --chip option into the --layout option. Corresponding to flashrom svn r932. Signed-off-by: Joerg Mayer <jmayer@loplof.de> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Tell users to probe/backup firstMichael Karcher2010-03-121-1/+5
| | | | | | | Corresponding to flashrom svn r931. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Fix NULL pointer reference in board_flash_enableMichael Karcher2010-03-111-1/+1
| | | | | | | | | Was introduced in r926. Found by Henrik Kretzschmar <henne@nachtwindheim.de>. Corresponding to flashrom svn r930. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Maciej Pijanka <maciej.pijanka@gmail.com>
* Add ASUS A7V8X-X write-enableRuss Dill2010-03-093-3/+8
| | | | | | | | | | I have an ASUS A7V8X-X, the BIOS programming requires a write-enable. It has an IT8712F, just like the A7V600-X. Corresponding to flashrom svn r929. Signed-off-by: Russ Dill <Russ.Dill@gmail.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* 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>
* Write granularity is chip specificCarl-Daniel Hailfinger2010-03-082-0/+67
| | | | | | | | | | | | | | | | | | | | | | The following write granularities exist according to my datasheet survey: - 1 bit. Each bit can be cleared individually. - 1 byte. A byte can be written once. Further writes to an already written byte cause the contents to be either undefined or to stay unchanged. - 128 bytes. If less than 128 bytes are written, the rest will be erased. Each write to a 128-byte region will trigger an automatic erase before anything is written. Very uncommon behaviour. - 256 bytes. If less than 256 bytes are written, the contents of the unwritten bytes are undefined. Note that chips with default 256-byte writes, which keep the original contents for unwritten bytes, have a granularity of 1 byte. Handle 1-bit, 1-byte and 256-byte write granularity. Corresponding to flashrom svn r927. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Sean Nelson <audiohacked@gmail.com> Acked-by: David Hendricks <dhendrix@google.com>
* Move untested board enable documentation to manpageMichael Karcher2010-03-072-24/+58
| | | | | | | | | | This also checks the testedness of boards in all cases, not just for PCI/DMI detection. Corresponding to flashrom svn r926. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Board enable for MS-7202 (K8N GM2-L)Michael Karcher2010-03-071-0/+2
| | | | | | | | | Board enable code is untested, marked as such. Corresponding to flashrom svn r925. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Board enable for Asus M2NBP-VM CSMMichael Karcher2010-03-071-0/+9
| | | | | | | | | Board info: http://www.coreboot.org/pipermail/flashrom/2009-December/001373.html Corresponding to flashrom svn r924. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Board enable for HP Vectra VL420SFFMichael Karcher2010-03-071-1/+4
| | | | | | | | | | | | | This code has been tested by Mattias Mattsson on 23. December 2009, but without the DMI match. Now that DMI support is in and working, the board can be added to mainline flashrom. board info: http://www.coreboot.org/pipermail/flashrom/2009-December/001440.html Corresponding to flashrom svn r923. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Refactor man pageMichael Karcher2010-03-071-37/+49
| | | | | | | | | | | | | | | | | | | This patch puts the description of the different programmers into a separate section of the manpage instead of having them one after the other without visual structuring in the description of "-p". It is made as a preparation of a man-page patch that adds the background of board enables into flashrom.8 that would really blow up the OPTIONS section. The only differences in content are: - The parameter for serprog is mandatory, not optional - Default behaviour of it87spi (using BIOS-set I/O address) is mentioned. - Default speed of buspiratespi is mentioned. Corresponding to flashrom svn r922. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Add support for Eon EN29F010Russ Dill2010-03-052-1/+28
| | | | | | | | | | | 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>
* Board enable for Abit IP35 ProMichael Karcher2010-03-031-0/+2
| | | | | | | | | This board is like the IP35. Just changed the IDs to match. Corresponding to flashrom svn r920. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Timothy Lepre <Klavious@gmail.com>
* Implement tested/untested status for board enablesMichael Karcher2010-02-283-59/+105
| | | | | | | | | | | | | | | The message printing code greatly exceed the 80 character limit. I can reformat it on request to obey the limit. Intended behaviour: on untested boards an explanation of that status is printed and the board enable code is not run, unless the option "boardenable=force" has been passed to the internal programmer. Corresponding to flashrom svn r919. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Board enable for HP Vectra VL400Michael Karcher2010-02-271-0/+60
| | | | | | | | | | Corresponding to flashrom svn r918. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: bas nowaira <bas429@gmail.com> Acked-by: Luc Verhaegen <libv@skynet.be> Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
OpenPOWER on IntegriCloud