summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Driver for ST M29F002T/NT/BPeter Stuge2009-01-261-1/+1
| | | | | | | | | | | T/NT TEST_OK_ PROBE READ ERASE WRITE Test report from Julia. Thanks! Corresponding to flashrom svn r409 and coreboot v2 svn r3917. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Julia Longtin <juri@solarnetone.org>
* Winbond SuperIO SPI driverPeter Stuge2009-01-261-1/+1
| | | | | | | | | | Developed and tested to work on Intel D201GLY in July 2008. Tested by a helpful person on IRC whose name I've since forgotten. Sorry! Corresponding to flashrom svn r404 and coreboot v2 svn r3910. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Ward Vandewege <ward@gnu.org>
* Darwin / Mac OS XStefan Reinauer2009-01-261-0/+4
| | | | | | | | | | | Through DirectIO from coresystems GmbH we now support Darwin/Mac OS X. DirectIO is available at http://www.coresystems.de/en/directio Corresponding to flashrom svn r399 and coreboot v2 svn r3905. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se>
* Small cleanup in MakefilePeter Stuge2009-01-261-4/+5
| | | | | | | Corresponding to flashrom svn r398 and coreboot v2 svn r3904. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se>
* Abstract mmap() in physmap.c and only open /dev/mem on the first physmap() callStefan Reinauer2009-01-261-1/+1
| | | | | | | | Corresponding to flashrom svn r397 and coreboot v2 svn r3903. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se>
* Make Makefile a bit more portablePeter Stuge2009-01-251-1/+1
| | | | | | | | | Shell echo doesn't always know -n. Corresponding to flashrom svn r392 and coreboot v2 svn r3897. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se>
* Replace #ifdefs for sc520 systems by run time probingStefan Reinauer2008-12-031-1/+1
| | | | | | | | | | Fixes #109 Corresponding to flashrom svn r355 and coreboot v2 svn r3790. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Add support for the AMD/ATI SB600 southbridge SPI functionalityJason Wang2008-11-281-1/+1
| | | | | | | | | | This has been tested by Uwe Hermann on an RS690/SB600 board. Corresponding to flashrom svn r351 and coreboot v2 svn r3779. Signed-off-by: Jason Wang <Qingpei.Wang@amd.com> Reviewed-by: Joe Bao <zheng.bao@amd.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Activate proper support for EN29F002(A)(N)[BT]Mats Erik Andersson2008-09-261-1/+1
| | | | | | | | | | | | Fully tested for Probe/Read/Erase/Write on EN29F002NT. Jedec subroutines 'probe_jedec()' and 'erase_chip_jedec()' are still in use, but a tailored 'write_en29f002a()' is needed due to a byte wise writing mechanism for this chip. Corresponding to flashrom svn r316 and coreboot v2 svn r3602. Signed-off-by: Mats Erik Andersson <mats.andersson@gisladisker.se> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Winbond W39V040C and MSI K8T Neo2-FPeter Stuge2008-07-211-1/+1
| | | | | | | | | | | | | | | W39V040C does standard JEDEC commands except chip erase so add a small driver. probe_w39v040c() prints the block lock pin status when a chip is found. The Neo2 board enable matches on 8237-internal IDE and onboard NIC PCI IDs. Many thanks to Daniel McLellan for testing all of this on hardware! Build tested by Uwe. Corresponding to flashrom svn r304 and coreboot v2 svn r3431. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Don't rm *~ in make clean, who knows what files that could bePeter Stuge2008-07-021-1/+1
| | | | | | | Corresponding to flashrom svn r288 and coreboot v2 svn r3404. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Remove dead M-Systems Disk on Chip codePeter Stuge2008-06-221-2/+2
| | | | | | | | | | | | | | DOC support has been disabled by default for many years. The write function does nothing but print text. It has a call to write_page_md2802() commented out, but that function does not exist. This is dead code with ugly #ifdefs. Updates README to reflect that there was a time when there was code, but it didn't work. Removes M-Systems #defines and also includes svn rm msys_doc.* Corresponding to flashrom svn r269 and coreboot v2 svn r3382. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Stefan Reinauer <stepan@coresystems.de>
* Some Makefile cleaningPeter Stuge2008-06-221-5/+4
| | | | | | | Corresponding to flashrom svn r267 and coreboot v2 svn r3378. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se>
* Fix OBJS in Makefile to compile stm50flw0x0x.c like the othersPeter Stuge2008-06-211-1/+1
| | | | | | | Corresponding to flashrom svn r266 and coreboot v2 svn r3377. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se>
* Changes to make flashrom compile (and work) on FreeBSDAndriy Gapon2008-05-221-0/+4
| | | | | | | | | | | | This patch addresses different argument order of outX() calls, FreeBSD-specific headers, difference in certain type names and system interface names, and also FreeBSD-specific way of gaining IO port access. Corresponding to flashrom svn r245 and coreboot v2 svn r3344. Signed-off-by: Andriy Gapon <avg@icyb.net.ua> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Support Pm49FL004/2 Block Locking RegistersNikolay Petukhov2008-05-171-1/+1
| | | | | | | | | | | | | | | | | | The PMC chips understand both LPC and FWH flash commands. When in FWH mode (MSR_DIVIL_BALL_OPT(0x51400015) = 0x00000f7d on 5536 boards) the Block Locking Registers by default lock the flash chip for write and erase - in addition to any chipset write protection. This patch adds unlock operations before Pm49FL004/2 write and erase, and it includes an svn mv pm49fl004.c pm49fl00x.c Thanks go to Nikolay for this patch. Corresponding to flashrom svn r243 and coreboot v2 svn r3332. Signed-off-by: Nikolay Petukhov <nikolay.petukhov@gmail.com> Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Bari Ari <bari@onelabs.com>
* Add support for SPI chips on ICH9Dominik Geyer2008-05-161-1/+2
| | | | | | | | | This is done by using the generic SPI interface. Corresponding to flashrom svn r239 and coreboot v2 svn r3325. Signed-off-by: Dominik Geyer <dominik.geyer@kontron.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Move all IT87xx specific SPI routines from spi.c to a separate file it87spi.cCarl-Daniel Hailfinger2008-05-131-1/+1
| | | | | | | | | No behavioural changes, but greatly improved SPI abstraction. Corresponding to flashrom svn r229 and coreboot v2 svn r3305. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Peter Stuge <peter@stuge.se>
* Separate ST M50FLW support from generic JEDEC codeClaus Gindhart2008-04-281-6/+6
| | | | | | | | | | | | | | | | The generic jedec.c does not work for the ST M50FLW flash devices, because they need an unlock command first. For this reason, ST M50FLW support is moved to a new HW support module, because any change in jedec.c would bear the risk to cause problems with the already supported devices. It's already tested with ST M50FLW080A; the other chips of this family i dont have available, so i couldnt test it. Corresponding to flashrom svn r219 and coreboot v2 svn r3274. Signed-off-by: Claus Gindhart <claus.gindhart@kontron.com> Acked-by: Stefan Reinauer <stepan@coresystems.de>
* Support for the Winbond W39V080FA series of chipsStefan Reinauer2008-03-171-1/+1
| | | | | | | | | Support for flashing on the Kontron 986LCD-M board. Corresponding to flashrom svn r213 and coreboot v2 svn r3165. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Fix broken flashrom buildUwe Hermann2008-03-141-1/+1
| | | | | | | Corresponding to flashrom svn r206 and coreboot v2 svn r3142. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Drop 82802ab.c as it is identical to sharplhf00l04.cCarl-Daniel Hailfinger2008-03-131-1/+1
| | | | | | | Corresponding to flashrom svn r201 and coreboot v2 svn r3137. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Peter Stuge <peter@stuge.se>
* 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.
OpenPOWER on IntegriCloud