summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation with custom CFLAGSClark Rawlins2008-02-141-1/+3
| | | | | | | | | | | | | | | | With this small change it is possible to build flashrom again when specifying custom CFLAGS/LDFLAGS from the make command line like. make CFLAGS="..." LDFLAGS="..." I need to do this when building flashrom in a cross compiler environment like buildroot for a foreign target. Corresponding to flashrom svn r196 and coreboot v2 svn r3102. Signed-off-by: Clark Rawlins <clark@bit63.org> Acked-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* This patch adds version informationBernhard Walle2008-01-211-0/+6
| | | | | | | | | | | Because 'v' and 'V' are already in use, the patch uses 'R' (for release) and, of course, '--version'. Corresponding to flashrom svn r182 and coreboot v2 svn r3067. Signed-off-by: Bernhard Walle <bernhard.walle@gmx.de> Acked-by: Ulf Jordan <jordan@chalmers.se> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Rename linuxbios_* files in utils repositoryStefan Reinauer2008-01-181-1/+1
| | | | | | | Corresponding to flashrom svn r179 and coreboot v2 svn r3058. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de>
* Multiple flashrom fixesUwe Hermann2007-10-161-1/+3
| | | | | | | | | | | | | | - Install binary in /usr/sbin (not /usr/bin), as it's a root-only tool. - Rename manpage from flashrom.1 to flashrom.8, as section 8 contains "System administration commands (usually only for root)". - Actually install the manpage upon 'make install'. Corresponding to flashrom svn r149 and coreboot v2 svn r2866. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de>
* Move SPI code out of board_enable.c where it started its lifeCarl-Daniel Hailfinger2007-10-151-1/+1
| | | | | | | | | | | | | | | The SPI chip finding and SPI chip accessor code is moved as well. This can be split later if we feel like it. The non-use of svn cp is intentional because the only history we'd have to preserve are a few commits which were early prototypes of chip identification code. For those who intend to look at that history, they can look at board_enable.c revision 2853. Corresponding to flashrom svn r145 and coreboot v2 svn r2857. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coresystems.de>
* Add support for the Winbond W29EE011Markus Boas2007-08-301-1/+1
| | | | | | | Corresponding to flashrom svn r133 and coreboot v2 svn r2753. Signed-off-by: Markus Boas <ryven@ryven.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Rename flash_rom.c.cUwe Hermann2007-04-111-2/+2
| | | | | | | | | The tool is called 'flashrom' after all. Corresponding to flashrom svn r103 and coreboot v2 svn r2603. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de>
* Split flash_enable.c into chipset_enable.c and board_enable.cLuc Verhaegen2007-04-041-4/+5
| | | | | | | | | | | | | | | | | | | | This splits up the ROM Write enable code into chipset specific and board specific parts. This of course means that a lot of code is plainly moved about. * Allows for linuxbios name matching and pci-subsystem id matching. The latter uses a double set to properly distuinguish boards despite of some known vendors being lax about it. * Fixes GPIO15 being raised on every VT8235 southbridge, regardless of what that line actually controls; rom on EPIA-M, backlight on mitac 8999 laptop. * Adds flashrom support for Asus A7V400-MX (KM400 + VT8235) * Island aruma was renamed agami aruma, the board specific code now got adjusted. A set of pci-ids was retrieved from source code. Corresponding to flashrom svn r99 and coreboot v2 svn r2581. Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Stefan Reinauer <stepan@coresystems.de>
* Note in makefile messages that zlib may be needed for libpciEd Swierk2007-02-161-2/+2
| | | | | | | | | | | | | Currently the flashrom Makefile tries to detect whether pciutils-devel is installed, but the test also fails if zlib-devel is missing. This patch changes the error message accordingly. Corresponding to flashrom svn r90 and coreboot v2 svn r2553. Signed-off-by: Ed Swierk <eswierk@arastra.com> Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* This patch is a rework of Adam Kaufman's Solaris patchAdam Kaufman2007-02-061-2/+7
| | | | | | | | | | | | | | | | | | | | | | * flash.h: - add a license header - add system definitions * flash_enable.c: - put io priviledge access in one single place - add includes required for Solaris. * lbtable.c, flash_rom.c, 82802ab.c: - use MEM_DEV so it works on Solaris * sst49lfxxxc.c, sharplhf00l04.c, sst_fwhub.c, 82802ab.c - drop unneeded include to sys/io.h * Makefile - adapt to Solaris specifics. Corresponding to flashrom svn r88 and coreboot v2 svn r2550. Signed-off-by: Adam Kaufman <adam.kaufman@pinnacle.com> Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Adam Kaufman <adam.kaufman@pinnacle.com>
* Add support for the SST-49LF004C, SST-49LF008C, SST-49LF016CYinghai Lu2007-01-221-1/+2
| | | | | | | | | | Also add suport for NVIDIA MCP55. Corresponding to flashrom svn r85 and coreboot v2 svn r2537. Signed-off-by: Yinghai Lu <yinghai.lu@amd.com> Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Peter Stuge <peter@stuge.se>
* Add an install target to the flashrom Makefile which installs flashrom into ↵Uwe Hermann2006-12-141-0/+5
| | | | | | | | | /usr/local/bin Corresponding to flashrom svn r82 and coreboot v2 svn r2524. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de>
* Fix write_page_write_jedec() in jedec.cGiampiero Giancipoli2006-11-221-1/+1
| | | | | | | | | | | | | | | | | | | Added a check-reprogram loop in the same function, to come around the high page write failure rate on some boards. This patch includes the changes suggested by Ron to simplify the control flow. It also includes trivial changes by me to make flashrom build on newer systems (libpci needs libz now). I also made a small type case compile fix and proper return code handling in one or two places. Corresponding to flashrom svn r78 and coreboot v2 svn r2505. Signed-off-by: Giampiero Giancipoli <gianci@email.it> Signed-off-by: Ronald G Minnich <rminnich@gmail.com> Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de>
* Add ts5300 flag as comment utility MakefileStefan Reinauer2006-03-191-1/+1
| | | | Corresponding to flashrom svn r49 and coreboot v2 svn r2215.
* Add sharp flashRonald G. Minnich2006-02-231-1/+1
| | | | Corresponding to flashrom svn r40 and coreboot v2 svn r2180.
* Make flashrom utility build process more solidStefan Reinauer2005-12-011-2/+15
| | | | Corresponding to flashrom svn r36 and coreboot v2 svn r2117.
* Flashrom update from Stefan, resolve issue 21Ollie Lho2005-11-261-28/+33
| | | | Corresponding to flashrom svn r34 and coreboot v2 svn r2111.
* Support for sst firmware hubRonald G. Minnich2004-09-301-1/+1
| | | | Corresponding to flashrom svn r25 and coreboot v2 svn r1651.
* Move utility functions into new source filesOllie Lho2004-03-171-3/+4
| | | | Corresponding to flashrom svn r6 and coreboot v2 svn r1428.
* Add support for SST49LF040David Hendricks2004-03-171-2/+3
| | | | Corresponding to flashrom svn r5 and coreboot v2 svn r1422.
* Fix makefileRonald G. Minnich2004-02-131-1/+2
| | | | Corresponding to flashrom svn r4 and coreboot v2 svn r1376.
* Changes from NIKIRonald G. Minnich2003-09-121-5/+24
| | | | Corresponding to coreboot v1 svn r873.
* This will now enable flash automagically for chipsets on which it knows howRonald G. Minnich2003-02-111-1/+1
| | | | | | Currently, only e7500 supported, but it is easy to add more. Corresponding to coreboot v1 svn r744.
* Add w49f002u supportAndrew Ip2002-10-161-1/+2
| | | | Corresponding to coreboot v1 svn r643.
* Can now burn 82802abRonald G. Minnich2002-09-061-0/+1
| | | | Corresponding to coreboot v1 svn r633.
* Add support for ST M29F400BT - part 1Ronald G. Minnich2002-05-281-1/+1
| | | | Corresponding to coreboot v1 svn r582.
* Add support for 39sf020Ronald G. Minnich2002-03-211-2/+2
| | | | Corresponding to coreboot v1 svn r523.
* FixesRonald G. Minnich2002-01-291-4/+2
| | | | | | | - switch to volatile everywhere - use myusec_delay instead of usleep Corresponding to coreboot v1 svn r492.
* Trying to make this general purpose user-land flash burnerRonald G. Minnich2002-01-291-0/+11
Corresponding to coreboot v1 svn r489.
OpenPOWER on IntegriCloud