1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 23:22:37 +02:00

203 Commits

Author SHA1 Message Date
Peter Huewe
3d3fd6ab2c Fix sparse warning: Unknown escape %
This patch fixes wrong escaping of %.
In print.c %%2b is correct instead of \%2b ("%%2b"=%2b=+)
In board_enable.c %d is correct instead of \%d.

Corresponding to flashrom svn r1256.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
2011-01-25 00:23:32 +00:00
Mark Marshall
90021f28ff Add support for the Open Graphics Project development card, OGD1, as a SPI flash programmer
The project is in the the process of designing and making a complete,
open source, graphics card. More info at http://wiki.opengraphics.org.

The first development card is a PCI add in card containing a couple of
FPGAs and a couple of serial flash chips (amongst other things). The
FPGAs are called XP10 and S3 (their part numbers). The XP10 contains its
own flash and does not need to be programmed by flashrom - it ensures
that the device can enumerate on the PCI bus without needing further
configuration.

The larger FPGA is the S3. This is configured from a large SPI flash
(2 MBytes). The second SPI flash is used to store the VGA BIOS. It is
smaller (128 KBytes). This patch adds support for programming either of
the two SPI flash chips.

The programmer device takes one configuration option which selects which
of the two flash chips is accessed. This must be set to either "cprom"
or "bprom". (The project refers to the two chips as "cprom" / "bprom",
"s3" and "bios" are more readable alternatives).

Add support for SST SST25VF010 (REMS). Mark SST SST25VF016B as tested
for write.

Corresponding to flashrom svn r1241.

Signed-off-by: Mark Marshall <mark.marshall@csr.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
2010-12-03 14:48:11 +00:00
Uwe Hermann
742999c682 Add a board-enable for the MSI MS-6391 (845 Pro4)
I found this via educated guessing and trial-and-error.

Corresponding to flashrom svn r1239.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
2010-12-02 21:57:42 +00:00
Uwe Hermann
83d349ac34 Fix board name, EP-8NPAI should have been EP-8NPA7I
Details, lspci/superiotool/flashrom logs:

  http://www.flashrom.org/pipermail/flashrom/2010-October/005160.html

Also add the vendor website URL for this board.

Corresponding to flashrom svn r1214.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-10-18 22:32:03 +00:00
Jonathan Kollasch
f8db959347 Add a board enable for the EPoX EP-8NPA7I board
Also, spelling correction.

Corresponding to flashrom svn r1213.

Signed-off-by: Jonathan Kollasch <jakllsch@kollasch.net>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
2010-10-15 23:02:15 +00:00
Carl-Daniel Hailfinger
ef69783a83 List the devices for all supported programmers in "flashrom -L" output
Fix PCI device ID printing.
Remove personal e-mail addresses from the man page, point people to
flashrom@flashrom.org instead.

Corresponding to flashrom svn r1200.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-10-07 22:21:45 +00:00
Carl-Daniel Hailfinger
a73fb4983d Refine -L output to include all programmer modules
Flashrom -L output did not contain a list of programmers nor were
all programmers listed. Fix it and mention at least the name of each
programmer. Wiki output is unchanged, and will need separate fixups.

Corresponding to flashrom svn r1199.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-10-06 23:48:34 +00:00
Uwe Hermann
17da61ea32 Add a board-enable for the ASRock K7S41, chipset-enable for SiS 741
This also adds (and marks as tested) a chipset-enable for the SiS 741.

All operations successfully tested on hardware.

lspci/superiotool:
  http://www.flashrom.org/pipermail/flashrom/2010-September/004710.html

Corresponding to flashrom svn r1192.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
2010-10-05 21:48:43 +00:00
Mattias Mattsson
2eaad63dc2 Add board enable for Dell OptiPlex GX1 and mark Intel 28F002BC/BL/BV/BX-T as tested
Match on ethernet and north bridge.

This is tested on an OptiPlex GX1 400L+ but will probably work for
the whole GX1 series as they all share the same vendor BIOS.

lspci/flashrom output
http://www.flashrom.org/pipermail/flashrom/2010-July/004042.html

lspci output (OptiPlex GX1 unknown model)
http://www.coreboot.org/pipermail/coreboot/2010-May/058040.html

superiotool output (OptiPlex GX1 266L+)
http://www.flashrom.org/pipermail/flashrom/2009-July/000207.html

lspci/dmidecode output (OptiPlex GX1 266L+)
http://www.coreboot.org/pipermail/coreboot/2009-July/050958.html

Corresponding to flashrom svn r1191.

Signed-off-by: Mattias Mattsson <vitplister@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
2010-10-05 21:32:29 +00:00
Michael Karcher
39dcdece3a Board enable for GA-6IEM
Reported by Konstantin <hc@comp.susu.ac.ru>
lspci (superiotool missing, doesn't matter for this patch)
 http://www.coreboot.org/pipermail/flashrom/2010-September/004609.html
DMI is needed, as there are no usefull PCI IDs.

(no test of that board yet, thus marked as untested)

Corresponding to flashrom svn r1187.

Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
2010-10-05 17:29:35 +00:00
Mattias Mattsson
f4925168c8 Add board enable for Elitegroup GeForce6100SM-M
Match on Memory Controller/LPC Bridge.

lspci/superiotool output:
http://www.coreboot.org/pipermail/flashrom/2010-September/004829.html

Test report:
http://www.coreboot.org/pipermail/flashrom/2010-September/004835.html

Corresponding to flashrom svn r1177.

Tested-by: Andrew Cleveland <evil.saltine@gmail.com>
Signed-off-by: Mattias Mattsson <vitplister@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
2010-09-16 22:09:18 +00:00
Uwe Hermann
9a87c5d6ad Add missing GIGABYTE GA-7DXR entry, should have been in r1166
Corresponding to flashrom svn r1169.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-09-15 00:03:53 +00:00
Uwe Hermann
45bd144536 Board-enable for the ASUS A7V333
The board-enable is the same as for the ASUS A7V8X, i.e., it raises
GP51 on the ITE IT8703F. I verified using a multimeter that this
will raise both, WE# and TBL# on the flash chip.

All operations successfully tested on hardware.

Also renamed board_asus_a7v8x() to it8703f_gpio51_raise().

Corresponding to flashrom svn r1167.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Joshua Roys <roysjosh@gmail.com>
2010-09-14 23:20:35 +00:00
Uwe Hermann
a3473248d7 Another round of board/chip status updates
Mark the following boards as tested:

 - Intel Foxhollow (reported by Jason Shriver <J.Shriver@F5.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-September/004768.html

 - Intel Greencity (reported by Jason Shriver <J.Shriver@F5.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-September/004768.html

 - Tyan S2915-E (Thunder n6650W) (reported by Axel Bergerhoff
   <axelbergerhoff@compuserve.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-August/004560.html

 - ASUS Z8NA-D6C (reported by John Wells <jb@sourceillustrated.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-September/004737.html

 - GIGABYTE GA-7DXR (reported by Uwe Hermann <uwe@hermann-uwe.de>)
   http://www.flashrom.org/pipermail/flashrom/2010-September/004712.html

 - MSI MS-7211 (PM8M3-V) (reported by Shahar Or <mightyiampresence@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-September/004612.html

 - MSI MS-6787 (P4MAM-V/P4MAM-L) (reported by Swift Geek <swiftgeek@gmail.com>)
   Board-enable now marked as tested.
   http://www.flashrom.org/pipermail/flashrom/2010-September/004687.html

Chips:

 - SST SST25VF016B (reported by Warren Turkal <wt@penguintechs.org>)
   http://www.flashrom.org/pipermail/flashrom/2010-September/004716.html

Corresponding to flashrom svn r1166.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-09-14 22:59:39 +00:00
Tim ter Laak
4b933f0c5e Add support for the abit BM6 board
Corresponding to flashrom svn r1163.

Signed-off-by: Tim ter Laak <timl@scintilla.utwente.nl>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-09-13 23:00:57 +00:00
Mattias Mattsson
fb60cec402 Add board enable for ASUS P4SC-E
I does this by setting bits 3..2 of register 0x24 on the ITE IT8707F,
while keeping bit 3 of register 0x23 set while manipulating the first
register.

AFAIK, there is no public datasheet available for this super i/o chip, but
the above is how the vendor BIOS does it. Also, registers 0x23 and 0x24 seem
to have the same meaning as on the ITE IT8710F.

Matching on NB/SB.

Tested on a P4SC-E with SST 39SF020A flash. Probe, read, erase, write
all work.

lspci/superio output:
http://www.flashrom.org/pipermail/flashrom/2010-July/004090.html

flashrom output:
http://www.flashrom.org/pipermail/flashrom/2010-August/004566.html

Many thanks to Reinder de Haan for help with reverse engineering this!

Corresponding to flashrom svn r1161.

Signed-off-by: Mattias Mattsson <vitplister@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-09-13 19:39:25 +00:00
Mattias Mattsson
c8ca3de5ae Board enable for MS-6163 Pro (MS-6163 rev:2)
Matching on NB/SB. Probe, read, erase and write all work.

lspci/superiotool output:
http://www.flashrom.org/pipermail/flashrom/2010-August/004461.html

I believe that this board enable also works for MSI BX Master (MS-6163
rev:3) and perhaps also for MSI MS-6163FC (MS-6163 rev:1) but these
boards have not been tested.

Test logs for MS-6163 (rev:2):
http://www.flashrom.org/pipermail/flashrom/2010-September/004704.html

Corresponding to flashrom svn r1160.

Signed-off-by: Mattias Mattsson <vitplister@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-09-13 18:22:36 +00:00
Joshua Roys
b1d980f6ad Board enable for ASUS P5GDC Deluxe
Match on SMBus and Audio.
lspci/superiotool/flashrom output:
http://www.flashrom.org/pipermail/flashrom/2010-September/004689.html

Corresponding to flashrom svn r1159.

Signed-off-by: Joshua Roys <roysjosh@gmail.com>
Tested-by: Alexander Mikhnovets <alexander.mikhnovets@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
2010-09-13 14:02:22 +00:00
Mattias Mattsson
e838824a87 Add a board enable for MSI MS-6561 (745 Ultra)
SiS 745 chipset + Winbond W83697HF and Winbond W49F002U flash. Probe, read,
erase and write all work.

Matching on "NB/SB" (they are integrated). Also mark SiS 745 chipset
as tested.

lspci/superiotool:
  http://www.flashrom.org/pipermail/flashrom/2010-September/004705.html

Corresponding to flashrom svn r1158.

Signed-off-by: Mattias Mattsson <vitplister@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-09-11 15:25:48 +00:00
Michael Karcher
f4b587963b Board enable for P4P800
lspci/superiotool:
  http://www.coreboot.org/pipermail/flashrom/2010-August/004436.html

This goes the safe route of adding a match for the P4P800 that does not
match the P4P800-E Deluxe which is already in.  It seems quite likely that
the whole P4P800 family could use the same board enable with one generic
board enable match, though.

This match uses host bridge + audio, because all other IDs match the
P4P800-E Deluxe board, as reported in
 http://www.e-monkeys.de/Everest-Bericht.txt

(no user feedback, commit as "untested")

Corresponding to flashrom svn r1157.

Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-09-10 14:54:18 +00:00
Michael Karcher
4a23e44bea Board enable for ASUS P5GD1 Pro
lspci/superiotool:
  http://www.coreboot.org/pipermail/flashrom/2010-August/004539.html

matching SMBus + Audio, because SMBus is the only core device with
usable IDs.

Corresponding to flashrom svn r1156.

Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-09-10 14:46:46 +00:00
Sergey A Lichack
f3a4bff427 Add a board-enable for the MSI MS-6787 (P4MAM-V/P4MAM-L)
Marked as untested for now, as there was no response from the user.

Corresponding to flashrom svn r1155.

Signed-off-by: Sergey A Lichack <shadowpilot34@gmail.com>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-09-07 18:14:53 +00:00
Joshua Roys
2ee137f31f Add board-enable for the GIGABYTE GA-K8N51GMF-9
Interestingly enough, this board's enable looked more like
enable_flash_nvidia_nforce2 than enable_flash_ck804; it whacked
0x92, not 0x88. But according to the lspci, 0x92 is already 0.

Tested successfully on hardware:
 http://www.flashrom.org/pipermail/flashrom/2010-August/004568.html
 http://www.flashrom.org/pipermail/flashrom/2010-September/004575.html

Corresponding to flashrom svn r1154.

Signed-off-by: Joshua Roys <roysjosh@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-09-07 17:52:09 +00:00
Uwe Hermann
431f4f77f7 Updates to the board and chips status tables
Mark the following boards as tested:

 - Tyan S2933 (Thunder n3600S) (reported by Pendic Peter <nigma@bluewin.ch>)
   http://www.flashrom.org/pipermail/flashrom/2010-August/004375.html

 - MSI MS-7642 (890GXM-G65) (reported by Alan McMahon <pam@aldersgate.co.uk>)
   http://www.flashrom.org/pipermail/flashrom/2010-August/004393.html

 - Shuttle X50/X50(B) (reported by Ed Driesen <ed@omts.be>)
   http://www.flashrom.org/pipermail/flashrom/2010-August/004472.html
   (the "B" variant is just black instead of white, no hardware differences
    as far as I can see)

 - ASUS M2NPV-VM (reported by Antti Palosaari <crope@iki.fi>)
   http://www.flashrom.org/pipermail/flashrom/2010-August/004476.html

 - ZOTAC ZBOX HD-ID11 (reported by s. ewgen <sewgen@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-August/004512.html

 - ASRock A330GC (reported by Daniel Flinkmann <DFlinkmann@gmx.de>)
   http://www.flashrom.org/pipermail/flashrom/2010-August/004517.html

 - Congatec conga-X852 (reported by Mario Rogen <Mario.Rogen@sie.at>)
   http://www.coreboot.org/pipermail/coreboot/2008-November/041433.html

 - IEI PICOe-9452 (reported by Mario Rogen <Mario.Rogen@sie.at>)
   http://www.coreboot.org/pipermail/coreboot/2008-November/041433.html

 - Lex CV700A (reported by Mario Rogen <Mario.Rogen@sie.at>)
   http://www.coreboot.org/pipermail/coreboot/2008-November/041433.html

 - Portwell PEB-4700VLA (reported by Mario Rogen <Mario.Rogen@sie.at>)
   http://www.coreboot.org/pipermail/coreboot/2008-November/041433.html

Mark the following chips as tested:

 - SST SST39SF040 (reported by Mattias Mattsson <vitplister@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-August/004414.html

 - Eon EN25F80 (reported by Ed Driesen <ed@omts.be>)
   http://www.flashrom.org/pipermail/flashrom/2010-August/004472.html

 - SyncMOS/MoselVitelic {F,S,V}29C51002T (reported by Mattias
   Mattsson <vitplister@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-August/004475.html

 - PMC Pm29F002T (reported by Tadas S <mrtadis@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-September/004583.html

Also:

 - Fix a few whitespace issues and cosmetics while I'm at it.

 - Add the board name (in addition to the Sxxxx number) to all Tyan boards.

Corresponding to flashrom svn r1153.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-09-05 12:41:25 +00:00
Carl-Daniel Hailfinger
9017cecd10 Various status updates
Success report for Atmel AT26DF081A from 
Oliver Schnatz <oliver.schnatz@mysys.de> 
http://www.flashrom.org/pipermail/flashrom/2009-October/000760.html.

Success report for Winbond W25Q32 from
David Hendricks <dhendrix@google.com>
http://www.flashrom.org/pipermail/flashrom/2010-April/002891.html

Success report for SST SST39VF512 from
Alec Wright <alecjw@member.fsf.org>
http://www.flashrom.org/pipermail/flashrom/2010-August/004549.html
http://www.flashrom.org/pipermail/flashrom/2010-August/004548.html

Success report for Silicon Image SiI 3512 and AMD Am29LV040B from
Michael Manulis <michael@manulis.com>
http://www.flashrom.org/pipermail/flashrom/2010-July/003944.html

Annotate listing with reporter/owner name for boards marked broken, flag
boards for which no reports exist.
- Abit IS-10
- ASRock K7VT4A+
- ASUS MEW-AM
- ASUS MEW-VM
- ASUS P3B-F
- ASUS P5BV-M
- Biostar M6TBA
- Boser HS-6637
- DFI 855GME-MGF
- FIC VA-502
- MSI MS-6178
- MSI MS-7260
- Soyo SY-5VD
- Sun Fire x4150
- Sun Fire x4200
- Sun Fire x4540
- Sun Fire x4600

Remove comments which are no longer appropriate:
- ASRock K8S8X

Corresponding to flashrom svn r1152.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-09-04 23:37:40 +00:00
Idwer Vollering
004f4b7954 Add Intel Gigabit NIC SPI flashing support
Tested on a 82541PI (0x8086, 0x107c) using 32-bit hardware.

The last line in nicintel_request_spibus() could be changed so that FL_BUSY
is used instead.

Shortened sample log:
[...]
Found "Intel 82541PI Gigabit Ethernet Controller" (8086:107c, BDF 01:03.0).
Found chip "ST M25P10.RES" (128 KB, SPI) at physical address 0xfffe0000.
Multiple flash chips were detected: M25P05.RES M25P10.RES
Please specify which chip to use with the -c <chipname> option.
[...]

Corresponding to flashrom svn r1151.

Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-09-03 18:21:21 +00:00
Mattias Mattsson
85016b9567 Add board enable for Asus P2B-N
Many thanks to Michael Karcher for reverse engineering this.

lspci/superio output:
http://www.flashrom.org/pipermail/flashrom/2010-August/004475.html

Corresponding to flashrom svn r1146.

Signed-off-by: Mattias Mattsson <vitplister@gmail.com>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
2010-09-01 01:21:34 +00:00
Mattias Mattsson
e3df96e65f Add board enable for Abit VA6
lspci/superiotool:
  http://www.coreboot.org/pipermail/flashrom/2010-August/004440.html

Corresponding to flashrom svn r1143.

Signed-off-by: Mattias Mattsson <vitplister@gmail.com>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
2010-08-15 22:43:23 +00:00
Uwe Hermann
ead705fc85 Various board status updates and fixes
- There are number of boards that have board-enables in board-enable.c but
  have no corresponding entry in print.c (with or without URL doesn't matter)
  and thus appear neither in the "flashrom -L" list of boards nor in the
  wiki output. Fix this by adding entries for them in print.c.

   - abit AN-M2
   - abit KN8 Ultra
   - ASUS A8Jm (laptop)
   - ASUS A8N (might need changing to "A8N-SLI Deluxe", see
     http://www.coreboot.org/pipermail/flashrom/2009-November/000878.html)
   - ASUS A8N-LA (Nagami-GL8E)
   - ASUS P4B533-E
   - ASUS P4S800-MX
   - HP ProLiant DL165 G6
   - IBASE MB899
   - Intel SE440BX-2 (marked as non-working for now though, due to
     http://www.coreboot.org/pipermail/flashrom/2010-July/003952.html)
   - MSI MS-6577 (Xenon)
   - MSI MS-7207 (K8NGM2-L)

- Fix / amend a few board names:

   - Add "ProLiant" name to the "DL145 G3" (and the new "DL165 G6"), we
     use such "series" names for various other boards (e.g. "Vectra" etc)
     and it also helps users googling for those names.

   - HP "Vectra VL400 PC" should be "Vectra VL400" really, I'm pretty sure
     the "PC" is not part of the board name but simply stands for
     "personal computer". Same for "Vectra VL420 SFF PC".

   - Change "ASUS A8JM" to "ASUS A8Jm" as per vendor website.

   - Add comments for boards which may be listed with incorrect names,
     I sent out clarification requests to the list, URLs listed as comment.

   - Add "Xenon" HP name to the "MSI MS-6577" OEM board.

   - Fix typo in "MS-7207 (K8N GM2-L)", should be "MS-7207 (K8NGM2-L)" as
     per vendor website.

Corresponding to flashrom svn r1141.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-08-15 15:26:30 +00:00
Mattias Mattsson
e295eeed1b Board enable for MSI MS-7061 (KM4AM-V)
lspci/superiotool:
  http://www.coreboot.org/pipermail/flashrom/2010-August/004414.html

(URL added by Michael Karcher)

Corresponding to flashrom svn r1139.

Signed-off-by: Mattias Mattsson <vitplister@gmail.com>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
2010-08-15 10:21:29 +00:00
Michael Karcher
c861324e09 Board enable for GA-8PE667 Ultra 2
I had to use the USB controller in the board enable because all other
subsystem IDs are having vendor: Gigabyte but mostly copy the Intel
product IDs.

lspci/superiotool:
  http://www.coreboot.org/pipermail/flashrom/2010-August/004420.html

Corresponding to flashrom svn r1138.

Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Thomas Kalka <thomas.kalka@googlemail.com>
2010-08-13 12:49:01 +00:00
Uwe Hermann
48ec1b17d8 Various cosmetic and coding-style fixes
- Fix incorrect whitespace, indentation, and coding style in some places.

 - Drop '/**' Doxygen comments, we don't use Doxygen. Even if we would use
   it, the comments are useless as we don't have any Doxygen markup in there.

 - Use consistent vendor name spelling as per current website (NVIDIA,
   abit, GIGABYTE).

 - Use consistent / common format for "Suited for:" lines in board_enable.c.

 - Add some missing 'void's in functions taking no arguments.

 - Add missing fullstops in sentences, remove them from non-sentences (lists).

Corresponding to flashrom svn r1134.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-08-08 17:01:18 +00:00
Joshua Roys
7507de451b Add a board-enable for the ASRock 775i65G
This was successfully tested by 'kai2343' on IRC.

Thanks to Michael Karcher for finding the board enable.

Corresponding to flashrom svn r1133.

Signed-off-by: Joshua Roys <roysjosh@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-08-08 16:05:23 +00:00
Uwe Hermann
1e94fa6983 Mark the following boards/chips as tested
Boards:

 - ASUS M4A785TD-M EVO (reported by Mattias Mattsson <vitplister@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-August/004283.html

 - ASUS M2N32-SLI Deluxe (reported by Mattias Mattsson <vitplister@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-August/004287.html

 - ASUS P2E-M (reported by Mattias Mattsson <vitplister@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-July/004261.html

 - ASUS M2N-SLI Deluxe (reported by
   Kasper M. Nielsen <kasper.nielsen85@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-May/003015.html
   
 - iBASE MB899 (reported by Bernhard M. Wiedemann <bernhard@lsmod.de>)
   http://www.flashrom.org/pipermail/flashrom/2010-April/002953.html
   
   Board-enable is now marked as tested.

 - ASRock 939A785GMH/128M (reported by
   Lennart Sauerbeck <lists@lennart.sauerbeck.org>)
   http://www.flashrom.org/pipermail/flashrom/2010-August/004340.html

Corresponding to flashrom svn r1132.

Chips:
 
 - ST M50FLW080A (reported by Mattias Mattsson <vitplister@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-August/004287.html
 
 - Winbond W29EE011 (reported by Mattias Mattsson <vitplister@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-July/004261.html
 
 - SST SST49LF040 (reported by Mattias Mattsson <vitplister@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-August/004296.html
 
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-08-08 15:52:07 +00:00
Uwe Hermann
51afebb127 Further chip and board status updates
Mark the following boards as supported:

 - Foxconn A6VMX (reported by Alec Wright <alecjw@member.fsf.org>)
   http://www.flashrom.org/pipermail/flashrom/2010-July/004186.html

 - GIGABYTE GA-8IRML (reported by Putlinuxonit <putlinuxonit@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-July/004175.html

   Marking the board-enable as tested now.

 - MSI MS-7253 (K9VGM-V) (reported by Alex <cerebro.alexiel@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003411.html

 - Soyo SY-6BA+ III (reported by Andrew Morgan <ziltro@ziltro.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003409.html

 - GIGABYTE GA-770TA-UD3 (reported by Hering <boerni@pakke.de>)
   http://www.flashrom.org/pipermail/flashrom/2010-May/003267.html

 - Shuttle AV11V30 (reported by
   "Néstor a.k.a. DarkMan" <master_darkman@hotmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-May/003260.html

 - Tyan S3992 (reported by Alessandro Gervaso <gervaso@appliedgenomics.org>)
   http://www.flashrom.org/pipermail/flashrom/2010-May/003129.html

 - GIGABYTE GA-MA785GMT-UD2H (reported by
   Dominick Layfield <dom.layfield@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-May/003061.html

Mark the following chips as tested:

 - ST M25P10-A (reported by Joshua Blanton <jblanton@rldrake.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003451.html

 - ST M50FLW080A (reported by Vincent Pelletier <plr.vincent@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003410.html

   Marked PROBE and READ as tested.

 - SST SST39SF020A (reported by Andrew Morgan <ziltro@ziltro.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003409.html

 - AMD Am29F010A/B (reported by Andrew Morgan <ziltro@ziltro.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003335.html

 - SST SST39VF010 (reported by Tim Small <tim@buttersideup.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-May/003310.html

Corresponding to flashrom svn r1129.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-08-01 00:13:49 +00:00
Daniel Lenski
b9e2cb5d6d Mark the following boards as supported
- Elitegroup RS485M-M

 - Biostar TA780G M2+

Corresponding to flashrom svn r1127.

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-07-30 17:08:29 +00:00
Uwe Hermann
c2521ab610 Mark the following chips/boards/PCI-cards as OK
Chips:

 - Winbond W25x80 (reported by Michael Cole <michaelcole@michaelcole.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-July/004176.html

 - Winbond W25Q80 (reported by Jonathan A. Kollasch <jakllsch@kollasch.net>)
   http://www.flashrom.org/pipermail/flashrom/2010-July/003847.html

 - SST SST25VF080B (reported by Mattias Mattsson <vitplister@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-July/003807.html

   Also reported by Daniel Flinkmann <dflinkmann@gmx.de>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003659.html

 - Winbond W25x16 (reported by Michael Dunphy <mdunphy@uwaterloo.ca>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003631.html

 - Atmel AT25DF321 (reported by
   Ramakrishna Kvv <Ramakrishna.Koduri@emerson.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003529.html

 - Winbond W25x40 (reported by Prakash J Kokkatt <pjkonweb@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003502.html

 - Winbond W49V002A (reported by David <dung@aon.at>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003375.html

 - Macronix MX25L8005 (reported by Peter Lemenkov <lemenkov@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003373.html

   Also reported by Alec Wright <alecjw@member.fsf.org>.
   http://www.flashrom.org/pipermail/flashrom/2010-July/004186.html
   http://www.flashrom.org/pipermail/flashrom/2010-July/004159.html

   Also reported by Jörg Fischer <turboj@gmx.de>.
   http://www.flashrom.org/pipermail/flashrom/2010-July/004080.html

   Also reported by Kevin Malec <kevin.010@gmail.com>.
   http://www.flashrom.org/pipermail/flashrom/2010-June/003698.html

   Heck, also reported by myself (tested on hardware, never sent mail).

 - SST SST49LF002A/B (reported by Udu Ogah <putlinuxonit@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-July/004184.html

 - SST SST49LF160C (reported by Ed Swierk <eswierk@aristanetworks.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003634.html

Mark the following boards as supported:

 - ASUS M3A76-CM (reported by Kevin Malec <kevin.010@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003698.html

Mark the following PCI cards as supported:

 - "Silicon Image SiI 3124 PCI-X SATA Ctrl" (1095:3124)
   Reported by Max Kalashnikov <mmt@maxkalashnikov.com>
   http://www.flashrom.org/pipermail/flashrom/2010-July/004007.html

Corresponding to flashrom svn r1126.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-07-29 22:39:47 +00:00
Peter Lemenkov
12a58b2b0b Mark GIGABYTE GA-MA74GM-S2H (rev 3.0) as supported
Corresponding to flashrom svn r1125.

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-07-29 21:15:45 +00:00
Uwe Hermann
49228cb826 Mark the following boards as tested OK
- ASUS M4A79T Deluxe (reported by Michael Cole <michaelcole@michaelcole.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-July/004176.html

 - Tyan S2915 (Thunder n6650W) (reported by
   Axel Bergerhoff <axelbergerhoff@compuserve.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-July/004140.html

 - ASRock ALiveNF6G-DVI (reported by Sven Lankes <sven@lank.es>)
   http://www.flashrom.org/pipermail/flashrom/2010-July/003951.html

 - ASUS M4A87TD/USB3 (reported by Jonathan A. Kollasch <jakllsch@kollasch.net>)
   http://www.flashrom.org/pipermail/flashrom/2010-July/003847.html

 - Fujitsu-Siemens ESPRIMO P5915 (reported by
   Mattias Mattsson <vitplister@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-July/003807.html

 - ASUS P6T SE (reported by Michael Dunphy <mdunphy@uwaterloo.ca>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003631.html

   Also reported by Sinisa Dukanovic <sinisa@dukanovic.com>.
   http://www.flashrom.org/pipermail/flashrom/2010-January/001799.html

 - Emerson ATCA-7360 (reported by
   Ramakrishna Kvv <Ramakrishna.Koduri@emerson.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003529.html

 - ASUS P5GC-MX/1333 (reported by Prakash J Kokkatt <pjkonweb@gmail.com>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003502.html

 - Elitegroup P6IWP-Fe (reported by Anders Jenbo <anders@jenbo.dk>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003419.html

 - Biostar M7NCD Pro (reported by David <dung@aon.at>)
   http://www.flashrom.org/pipermail/flashrom/2010-June/003375.html

Mark the "HP Compaq nx9005" laptop as non-supported for now.
Reported by Anders <mail@jagtogfiskerimagasinet.dk>.
http://www.flashrom.org/pipermail/flashrom/2010-May/003321.html

Fix "Samsung Polaris 32" URL entry from "" to NULL, otherwise the wiki
output is broken.

Also do some minor whitespace fixing in print.c.

Corresponding to flashrom svn r1122.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-07-29 19:26:15 +00:00
Jörg Fischer
6529b9fdc2 Add support for the Amontec JTAGkey2
Add support for the Amontec JTAGkey2, see
http://www.amontec.com/jtagkey2.shtml
http://www.amontec.com/jtagkey.shtml.

This FTDI 2232H variant has an additional output enable, which will be
set to its "on" (L) when CS is pulled low. But it lacks a power supply
and you need an external 3.3V source.

The attached patch adds "jtagkey" as "type" parameter for ft2232_spi. It
should work with all JTAGkeys (JTAGkey, JTAGkey-tiny and JTAGkey2) but I
only have a JTAGkey2 here for testing.

Add all FT2232H/FT4232H based programmers to the list printed with
flashrom -L

Corresponding to flashrom svn r1119.

Signed-off-by: Jörg Fischer <turboj@gmx.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
2010-07-29 15:54:53 +00:00
Carl-Daniel Hailfinger
5b997c3ed6 Split off programmer.h from flash.h
Programmer specific functions are of absolutely no interest to any file
except those dealing with programmer specific actions (special SPI
commands and the generic core).

The new header structure is as follows (and yes, improvements are
possible):
flashchips.h  flash chip IDs
chipdrivers.h  chip-specific read/write/... functions
flash.h  common header for all stuff that doesn't fit elsewhere
hwaccess.h hardware access functions
programmer.h  programmer specific functions
coreboot_tables.h  header from coreboot, internal programmer only
spi.h SPI command definitions

Corresponding to flashrom svn r1112.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-07-27 22:41:39 +00:00
Michael Karcher
efd8af3163 Board enable for abit NF-M2 nView
To be safe, the onboard video of the nView edition of this board has
been included in the match. If other NF-M2 editions have the same board
enable, the match should be broadened

lspci/superiotool
  http://www.coreboot.org/pipermail/flashrom/2010-April/002909.html

No success report, thus committed as untested.

Corresponding to flashrom svn r1109.

Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
2010-07-24 22:50:54 +00:00
Michael Karcher
3b11252426 Board enable for Samsung Polaris 32
lspci/superiotool:
http://www.coreboot.org/pipermail/flashrom/2010-July/003889.html

Corresponding to flashrom svn r1107.

Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Tested-by: Alex Loktionoff <oxy-loktionoff@mail.ru>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
2010-07-24 22:36:01 +00:00
Michael Karcher
c7a1ffb6f1 Board enable for GA-8IRML
Non-working board reported by idlogin / Putlinuxonit <putlinuxonit@gmail.com>
lspci/superiotool:
  http://www.coreboot.org/pipermail/flashrom/2010-May/003330.html
No success report, so committed as untested.

Corresponding to flashrom svn r1106.

Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
2010-07-24 22:27:29 +00:00
Michael Karcher
7af2ff0d56 Board enable for Abit IC7
Non-working board reported by: Anders Jenbo <anders@jenbo.dk>
lspci/superiotool:
  http://www.coreboot.org/pipermail/flashrom/2010-June/003346.html

no success report, so committed as untested.

Corresponding to flashrom svn r1105.

Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
2010-07-24 22:18:14 +00:00
Michael Karcher
e57957c977 Board enable for HP Puffer2-UL8E
lspci/superiotool:
  http://www.coreboot.org/pipermail/flashrom/2010-July/003869.html

Corresponding to flashrom svn r1102.

Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Mattias Mattsson <vitplister@gmail.com>
2010-07-24 11:14:37 +00:00
Michael Karcher
87c9099e69 Board enable for ASUS P4SD-LA (HP OEM)
No response from reporter - committed as "untested".

Corresponding to flashrom svn r1101.

Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
2010-07-24 11:03:48 +00:00
Michael Karcher
72eeab5f35 Board enable for ASUS P5PE-VM
Corresponding to flashrom svn r1100.

Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Tested-by: František Kučera <linux@frantovo.cz>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
2010-07-24 10:41:42 +00:00
Andrew Morgan
74a828a6dd Add nicnatsemi to print.c and print_wiki.c
Change the nicnatsemi address mask to use MA0-MA16 and set the maximum
decode size to 128KB.

Corresponding to flashrom svn r1095.

Signed-off-by: Andrew Morgan <ziltro@ziltro.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
2010-07-21 15:12:07 +00:00
Carl-Daniel Hailfinger
f7533420b4 Print supported flash chips as narrow as possible
Fix a bug where 4 GB of spaces would be printed per line if a vendor
name was longer than 10 chars.

This patch is needed to commit MoselVitelic chip support.

Corresponding to flashrom svn r1090.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2010-07-17 23:21:12 +00:00