summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix incorrect manpageUwe Hermann2009-07-111-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | The flashrom manpage currently says "-w, --write: Write file into flash ROM (default when <file> is specified)". This is no longer true for recent flashrom versions, which only write if you explicitly use the -w option. Proof: $ flashrom coreboot.rom flashrom v0.9.0-r631 No coreboot table found. Found chipset "Intel ICH7/ICH7R", enabling flash write... OK. Found board "Kontron 986LCD-M", enabling flash write... OK. Calibrating delay loop... OK. Found chip "PMC Pm49FL004" (512 KB) at physical address 0xfff80000. No operations were specified. Thus, fix manpage accordingly. Corresponding to flashrom svn r649. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Add Winbond W25X16Hector Martin2009-07-111-0/+16
| | | | | | | | | | Tested probing and reading only. The chip ID was already in flashchips.h. Corresponding to flashrom svn r648. Signed-off-by: Hector Martin <hector@marcansoft.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Convert SPI chip erase to use the multicommand infrastructureCarl-Daniel Hailfinger2009-07-111-18/+62
| | | | | | | | | | | Once the ICH/VIA SPI driver is converted to multicommand, a lot of hacks can disappear. Corresponding to flashrom svn r647. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Tested-by: Jakob Bornecrantz <wallbraker@gmail.com> Acked-by: Jakob Bornecrantz <wallbraker@gmail.com>
* Add an optional flash port parameter for IT87* SPI controllers in standalone ↵Carl-Daniel Hailfinger2009-07-114-5/+33
| | | | | | | | | | | | | programmer mode If the parameter is set, the IT87* SPI driver will set the I/O base port of the IT87* SPI controller interface to the port specified in the parameter. Usage: flashrom -p it87spi=port=0x820 Corresponding to flashrom svn r646. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Add SPI multicommand infrastructureCarl-Daniel Hailfinger2009-07-108-42/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some SPI opcodes need to be sent in direct succession after each other without any chip deselect happening in between. A prominent example is WREN (Write Enable) directly before PP (Page Program). Intel calls the first opcode in such a row "preopcode". Right now, we ignore the direct succession requirement completely and it works pretty well because most onboard SPI masters have a timing or heuristics which make the problem disappear. The FT2232 SPI flasher is different. Since it is an external flasher, timing is very different to what we can expect from onboard flashers and this leads to failure at slow speeds. This patch allows any function to submit multiple SPI commands in a stream to any flasher. Support in the individual flashers isn't implemented yet, so there is one generic function which passes the each command in the stream one-by-one to the command functions of the selected SPI flash driver. Tested-by: Jakob Bornecrantz <wallbraker@gmail.com> Corresponding to flashrom svn r645. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Jakob Bornecrantz <wallbraker@gmail.com>
* Change tarball compression from gzip to bzip2Carl-Daniel Hailfinger2009-07-101-5/+10
| | | | | | | | | | | | | Set the user and group of all files to root for tar versions which support it. Add explanatory comments for supporting that feature with other tar versions. Use LC_ALL instead of LANG everywhere. Corresponding to flashrom svn r644. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coresystems.de>
* W39V040B: Flag Erase/Write as badLuc Verhaegen2009-07-081-1/+1
| | | | | | | | | | | | | | | Chip has now been properly tested in both my Jetway J7F5M and my EPIA-SP (known good board). Erase and write fail. Mark these operations as bad until i or someone else have time to fix this. Reported by Arvid Brodin <arvidb@kth.se>. M flashchips.c Corresponding to flashrom svn r643. Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Board enable for Abit IP35Luc Verhaegen2009-07-061-0/+27
| | | | | | | | | Raise GPIO 16 on ICH9R LPC Interface. Corresponding to flashrom svn r642. Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Richie Ward <RichieS@GMail.com>
* Add more URLs and board notes, fix a typoUwe Hermann2009-07-042-31/+33
| | | | | | | Corresponding to flashrom svn r641. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Some flashrom printing changesUwe Hermann2009-07-031-9/+20
| | | | | | | | | | | | | - Also print URLs of boards with board-enables. - Mark known-bad operations for chips red in the wiki. - Clarifiy a wiki message a bit. Corresponding to flashrom svn r640. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Mark the following boards as workingUwe Hermann2009-07-033-17/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - VIA EPIA-M700 (reported by Jakob Bornecrantz <wallbraker@gmail.com>) http://www.coreboot.org/pipermail/coreboot/2009-July/050416.html - GIGABYTE GA-EX58-UD4P (reported by Warren Turkal <wt@penguintechs.org>) http://www.coreboot.org/pipermail/coreboot/2009-June/050199.html Mark as non-working: - ASUS Eee PC 701 4G (reported by Uwe Hermann <uwe@hermann-uwe.de>) There seems to be some SPI flash translation layer, likey done by the embedded controller on the laptop (ENE KB3310). The BIOS chip in this Eee PC model is Winbond 25X40VSIG btw. More info: http://beta.ivancover.com/wiki/index.php/Eee_PC_Research Mark this chip as tested: - ST M25P40 (reported by Jakob Bornecrantz <wallbraker@gmail.com>) http://www.coreboot.org/pipermail/coreboot/2009-July/050416.html Other: - Make the "Albatron PM266A" board detection print "Albatron PM266A*" as this enable will actually work for other PM266A* boards according to libv. However, the code was actually tested on "Albatron PM266A Pro". - Add some more board URLs / notes. - s/BioStar/Biostar/ as per vendor website. - Fix typo in print.c: s/A7V8-MX SE/A7V8X-MX SE/. Corresponding to flashrom svn r639. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* ft2232_spi: Allow runtime selection of FT2232H vs. FT4232H and interface A vsCarl-Daniel Hailfinger2009-07-014-9/+66
| | | | | | | | | | B. Corresponding to flashrom svn r638. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Tested-by: Jakob Bornecrantz <wallbraker@gmail.com> Acked-by: Jakob Bornecrantz <wallbraker@gmail.com>
* Add changelog for make export and make tarballCarl-Daniel Hailfinger2009-06-301-0/+1
| | | | | | | | | Thanks to Uwe for the suggestion. Corresponding to flashrom svn r637. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Random minor flashrom fixesUwe Hermann2009-06-287-14/+15
| | | | | | | | | | | | | | | - Properly escape '-' chars in manpage. - Fix typo in chipset_enable.c. - Drop useless 'return' in chip_readn(). - Random other whitespace or cosmetic fixes. Corresponding to flashrom svn r636. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Print the bus type(s) of both chipset and chip in the flashrom outputUwe Hermann2009-06-282-2/+6
| | | | | | | Corresponding to flashrom svn r635. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Fix all NONSPI bustypes in flashchips.cUrja Rannikko2009-06-281-70/+70
| | | | | | | | | Also noted as a comment if an FWH/LPC chip supports A/A Mux mode. Corresponding to flashrom svn r634. Signed-off-by: Urja Rannikko <urjaman@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Handle programmer init errors and abortCarl-Daniel Hailfinger2009-06-282-3/+10
| | | | | | | | | | | | | | If the programmer didn't initialize correctly, it is pointless to continue. Fix standalone IT87* SPI init to set flashbus to NONE if no IT87* SPI communication is possible. Print the I/O port detected by the IT87* SPI code. Corresponding to flashrom svn r633. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Ward Vandewege <ward@gnu.org>
* Change chip_readb in loop to use verify_range in write_page_write_jedec ↵Urja Rannikko2009-06-251-14/+8
| | | | | | | | | | | | | | (jedec.c) Tested by Urja Rannikko with external flasher. Tested by Uwe Hermann with onboard flash. Corresponding to flashrom svn r632. Signed-off-by: Urja Rannikko <urjaman@gmail.com> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Urja Rannikko <urjaman@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Always verify write operations automaticallyUwe Hermann2009-06-242-5/+28
| | | | | | | | | | | Should this be undesireable because of speed reasons, --noverify can be used to suppress an auto-verify. Corresponding to flashrom svn r631. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Harald Gutmann <harald.gutmann@gmx.net>
* Check result of all SPI erase functionsCarl-Daniel Hailfinger2009-06-243-12/+56
| | | | | | | | | | | | | | Since block erase functions do not know the block length (it's not specified in any standard), block erase functions now get an additional parameter blocklen. This enables flashrom to verify the erase result for block erase functions at correct boundaries. Tested by Uwe on SB600. Corresponding to flashrom svn r630. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Use correct abstraction for verify_range()Carl-Daniel Hailfinger2009-06-241-34/+10
| | | | | | | | | | | | | | | The new abstraction can handle out-of-band chip communication protocols as well. The old abstraction caused spurious false positives for erase on SPI and spurious false negatives for verify on SPI. Make verify_flash() use verify_range(). Tested by Uwe on SB600. Corresponding to flashrom svn r629. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Remove duplicated [file] from usage helpCarl-Daniel Hailfinger2009-06-242-5/+4
| | | | | | | | | A file is already specified directly in conjunction for -r/-w/-v. Corresponding to flashrom svn r628. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Mark the following boards as working OKUwe Hermann2009-06-232-14/+20
| | | | | | | | | | | | | - ASUS P5KC (reported by Andrei Pavlov <pavlov.andrei@rambler.ru>) - GIGABYTE GA-EP35-DS3L (reported by Alexander Gordeev <lasaine@lvk.cs.msu.su>) Add a few more URLs. Corresponding to flashrom svn r627. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* The makefile rules for %.o and flashrom.o are identicalCarl-Daniel Hailfinger2009-06-231-4/+1
| | | | | | | | | Let %.o handle flashrom.o as well. Corresponding to flashrom svn r626. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Luc Verhaegen <libv@skynet.be>
* Initial commit of an external serial flasher protocolUrja Rannikko2009-06-234-2/+111
| | | | | | | | | | | | | | Supports RS-232, USB serial converters (untested) and TCP streams. All functionality is stubbed out to allow multiplatform compile testing of the headers we use. The real serial flasher protocol driver will be committed next. Corresponding to flashrom svn r625. Signed-off-by: Urja Rannikko <urjaman@gmail.com> 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>
* There are some non-C99 compilers out there used to compile flashromStephan Guilloux2009-06-231-1/+3
| | | | | | | | | This fixes compilation for them. Corresponding to flashrom svn r624. Signed-off-by: Stephan Guilloux <stephan.guilloux@free.fr> Acked-by: Stefan Reinauer <stepan@coresystems.de>
* SB600 SPI: Kill unused variableCarl-Daniel Hailfinger2009-06-231-16/+15
| | | | | | | | | Make a few local functions in sb600spi.c static. Corresponding to flashrom svn r623. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Luc Verhaegen <libv@skynet.be>
* Mark MX25L6405 as PROBE supportedCarl-Daniel Hailfinger2009-06-221-1/+1
| | | | | | | | | Thanks to Michael Stapelberg for the report. Corresponding to flashrom svn r622. 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>
* Mark the SST49LF003A as PROBE supportedCarl-Daniel Hailfinger2009-06-221-1/+1
| | | | | | | | | Thanks to Simon Brown for the report. Corresponding to flashrom svn r621. 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>
* Mark ST M25P80 as completely supportedCarl-Daniel Hailfinger2009-06-221-1/+1
| | | | | | | | | Thanks to Harald Gutmann for testing. Corresponding to flashrom svn r620. 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>
* Eon EN25F40: Probe is testedCarl-Daniel Hailfinger2009-06-221-1/+1
| | | | | | | | | | Thanks to Wangji for testing and pointing out that EN25* chips were unsupported, which was handled in r580 and r592. Corresponding to flashrom svn r619. 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>
* Note how the GIGABYTE GA-7ZM can be flashedUwe Hermann2009-06-222-1/+2
| | | | | | | | | | | | | Turns out that the GIGABYTE GA-7ZM _does_ work fine if you disable the BIOS flash protection option _and_ remove jumper JP9 on the board (d'oh!). This board can decode 512 KB chips just fine (not just 256 KB). Corresponding to flashrom svn r618. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Add board-enable for Elitegroup K7VTA3Uwe Hermann2009-06-211-2/+5
| | | | | | | | | The board can decode 256 KB only (i.e., not 512 KB) it seems. Corresponding to flashrom svn r617. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Add board-enable code for the Shuttle AK38NUwe Hermann2009-06-211-0/+18
| | | | | | | | | | | | | | FYI, this board can only decode 256 KB chips (not 512 KB ones) unfortunately. The highest address line (A18) is not connected on this board. The it8705f_write_enable() is kept generic enough so it can be reused for other board-enables, possibly in the board_biostar_p4m80_m4() for example, but that shouldn't be touched for now, unless someone can test the code. Corresponding to flashrom svn r616. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Luc Verhaegen <libv@skynet.be>
* Various wiki output changesUwe Hermann2009-06-204-41/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | - Move board_info_url struct to print.c, doesn't have to be global. - Simplify flashrom.c a bit by moving stuff to print.c. Eliminate two now-useless mini-functions in print.c. - Add a note that the wiki page contents are semi-automatically generated. - Mention date of last wiki page update as well as the flashrom revision that was used to generate the wiki output. - Also generate list of supported laptops in -z output now. - Add some more board URLs. - Add a boards_notes[] table to allow for arbitrary footnotes/comments for each board in the table. All notes will automatically be turned into wiki footnotes with correct numbers and will appear at the end of the respective table. Corresponding to flashrom svn r615. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Random bunch of wiki output and board status changesUwe Hermann2009-06-192-51/+105
| | | | | | | | | | | | | | | | | | | | | | - Convert #defines for strings in print.c to 'const char *'s. - Add missing entries in the board URL tables. - Add a few more board URLs, partly contributed by 'Alien' at http://www.coreboot.org/index.php?title=flashrom&curid=1765&diff=8626&oldid=8625&rcid=3586 - Fix sort order of board lists. - Add laptops to URL list (not yet used). - Fix typo. - Fix EPIA-EX15000/NX15000 names (append "G"). Corresponding to flashrom svn r614. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Add support for the AMD Am29F010A/B chipsUwe Hermann2009-06-193-0/+18
| | | | | | | | | | | | Also, add support for the Silicon Image 3112(A) SATA controller. Both have been tested by Andrew Morgan <ziltro@ziltro.com> on hardware and work fine. Corresponding to flashrom svn r613. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Andrew Morgan <ziltro@ziltro.com>
* Mark VIA EPIA-EX15000 and VIA EPIA-NX15000 as workingUwe Hermann2009-06-191-0/+2
| | | | | | | | | Thanks Clark Rawlins <clark@bit63.org> for the report! Corresponding to flashrom svn r612. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Prevent spurious runs of make features introduced by the FT2232 patchCarl-Daniel Hailfinger2009-06-191-11/+14
| | | | | | | | | | | The new makefile structure uses indirection (.features->features) to work around a gmake bug which resulted in immediate premature evaluation of variable definitions with deferred evaluation. Corresponding to flashrom svn r611. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Board enable for EPIA-N(L)Jon Harrison2009-06-191-6/+34
| | | | | | | Corresponding to flashrom svn r610. Signed-off-by: Jon Harrison <bothlyn@blueyonder.co.uk> Acked-by: Luc Verhaegen <libv@skynet.be>
* Board enable for Mitac 6513WU (Compaq OEM)Michael Gold2009-06-191-0/+68
| | | | | | | | | | ATX board for P3; Intel 82810e GMCHe, Intel 82801AA ICH and SMSC LPC47U332 super I/O. Corresponding to flashrom svn r609. Signed-off-by: Michael Gold <mgold@ncf.ca> Acked-by: Luc Verhaegen <libv@skynet.be>
* Kill obsolete exclude range featureCarl-Daniel Hailfinger2009-06-193-60/+7
| | | | | | | | | | | It is ignored by almost every chip and does not work for external flashers. Plus, it gives the user a false sense of security in some corner cases. Corresponding to flashrom svn r608. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Allow to print an auto-generated hardware support list in MediaWiki markupUwe Hermann2009-06-194-9/+381
| | | | | | | | | | | | | | | | | | | Add a --list-supported-wiki / -z option which outputs the currently supported flash chips (and their status, size, and type), chipsets (plus status), mainboards (plus status), and external PCI devices usable as programmer to stdout. This allows for very easy pasting into the http://coreboot.org/flashrom page, so we can keep that page up-to-date without much hassle. The list of boards is mostly new (known good ones which don't need write-enable code, and known-bad ones) and also lists URLs to the vendor's mainboard pages. Corresponding to flashrom svn r607. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Kill dead code which has been disabled since the very first commit of flashromCarl-Daniel Hailfinger2009-06-191-16/+0
| | | | | | | Corresponding to flashrom svn r606. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Ronald G. Minnich <rminnich@gmail.com>
* Some more board status updatesUwe Hermann2009-06-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | | Mark as OK: - ASRock A770CrossFire (reported by RIVANVX on IRC, no email available). User verified read and write with -wv, which VERIFIED OK. Mark as non-working for now: - HP/Compaq nx9010 (laptop, reported by Murawski Mateusz <matowy@tlen.pl>). Hangs upon 'flashrom -V' (needs hard power-cycle then). - Elitegroup K7VTA3 (reported by Uwe Hermann <uwe@hermann-uwe.de>). Needs board-enable. - GIGABYTE GA-7ZM (reported by Uwe Hermann <uwe@hermann-uwe.de>). Needs board-enable. Corresponding to flashrom svn r605. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Also print the supported/nonsupported laptops in -L outputUwe Hermann2009-06-183-12/+32
| | | | | | | | | Content taken from current wiki page. Corresponding to flashrom svn r604. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Chipset enable for VIA VT8233Mateusz Murawski2009-06-181-0/+1
| | | | | | | Corresponding to flashrom svn r603. Signed-off-by: Mateusz Murawski <matowy@tlen.pl> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Board enable for Soyo SY-7VCALuc Verhaegen2009-06-171-0/+33
| | | | | | | Corresponding to flashrom svn r602. Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Andrew Morgan <ziltro@ziltro.com>
* Move all printing code to print.cUwe Hermann2009-06-176-206/+235
| | | | | | | | | Drop no longer needed MAX macro, we have a max() function. Corresponding to flashrom svn r601. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Use spi_nbyte_program in ichspi.cCarl-Daniel Hailfinger2009-06-171-20/+7
| | | | | | | | | This shortens the code a lot and makes it more readable. Corresponding to flashrom svn r600. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Ronald G. Minnich <rminnich@gmail.com>
OpenPOWER on IntegriCloud