summaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* Trivial patch:Stefan Reinauer2007-04-061-1/+2
| | | | | | | | | | | | | | | * Drop empty file (0 bytes) northbridge/amd/amdk8/cpu_rev.c and references to it. * move config option decision to preprocessor instead of code since config options can not change during runtime * slightly more verbose output in built_opt_tbl.c Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2586 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Trivial (cosmetic) cleanup:Stefan Reinauer2007-04-068-61/+51
| | | | | | | | | | | | | | | * Only open /dev/mem once and do it early. * Drop extern for function prototypes. * Minimize ts5300 impact in probe_flash() This cleanup will making ICH7 SPI support quite some easier. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2585 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* flashrom: split flash_enable.c into chipset_enable.c and board_enable.cLuc Verhaegen2007-04-045-208/+464
| | | | | | | | | | | | | | | | | | | | | | 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. Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2581 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Drop useless and partly even incorrect comments (trivial).Uwe Hermann2007-04-011-49/+54
| | | | | | | | | Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2578 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Coding style fixes (trivial).Uwe Hermann2007-04-0114-133/+122
| | | | | | | | | Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2577 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Flashrom: Add support for the ICH7-DH southbridge (untested).Uwe Hermann2007-03-311-0/+1
| | | | | | | | | Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2575 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* This is a trivial cosmetic fix. Without it, the error message might look like:Stefan Reinauer2007-03-221-1/+1
| | | | | | | | | | | Image size doesnt match: Success Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2573 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* The attached patch adds additional PCI IDs for MCP55 LPC devices toEd Swierk2007-03-061-0/+5
| | | | | | | | | | | | | flashrom. 0x0360 is needed to support the DFI LANParty NF590SLI, and I am deducing the others based on pci_ids.h in the Linux kernel. 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> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2570 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* flashrom: Fix wrong VT8235 flash enable failed warning.Luc Verhaegen2007-03-021-40/+37
| | | | | | | | | | | | | | | | * Fix harmless but worrying warning where the return value of pci_write_byte is misinterpreted. * Hash together VT8231 and VT8235 code into VT823x. VT8231 is the better implementation, but lacked the write protect disable code that's apparently needed for VT8235. Signed-off-by: Luc Verhaegen <libv@skynet.be> Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2568 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Add Winbond W39V080A support to Flashrom.David Hendricks2007-03-023-0/+4
| | | | | | | | | | Signed-off-by: David Hendricks <david.hendricks@gmail.com> Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2565 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Add support for the Gigabyte m57sli-s4 board to flashrom.Ward Vandewege2007-02-281-0/+1
| | | | | | | | | Signed-off-by: Ward Vandewege <ward@gnu.org> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2564 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Currently the flashrom Makefile tries to detect whether pciutils-develEd Swierk2007-02-161-2/+2
| | | | | | | | | | | | | is installed, but the test also fails if zlib-devel is missing. This patch changes the error message accordingly. 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> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2553 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Include src/include/boot/linuxbios_tables.h in the flashrom sourceUwe Hermann2007-02-062-1/+217
| | | | | | | | | | | tree to make it compilable independant of the LinuxBIOS source code. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2551 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* This patch is a rework of Adam Kaufman's Solaris patch.Adam Kaufman2007-02-069-37/+72
| | | | | | | | | | | | | | | | | | | | | | | | * 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. 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> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2550 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Add support for the SST 49LF160C.Alan Carvalho de Assis2007-01-273-0/+4
| | | | | | | | | Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2539 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Delete superfluous and incorrect comment (trivial).Uwe Hermann2007-01-241-1/+0
| | | | | | | | | | | See also http://www.openbios.org/pipermail/linuxbios/2007-January/018042.html. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2538 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Add support for the SST-49LF004C, SST-49LF008C, SST-49LF016C in flashrom.Yinghai Lu2007-01-227-1/+272
| | | | | | | | | | | | | Also add suport for NVIDIA MCP55. 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> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2537 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* trivial enhancementStefan Reinauer2007-01-172-11/+163
| | | | | | | | | | | * add fintek superio support * add license header * add clean target in makefile Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2536 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Improve flashrom description in the manpage a bit (trivial).Uwe Hermann2006-12-201-3/+5
| | | | | | | | | Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2531 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Update flashrom requirements in the README (trivial).Uwe Hermann2006-12-201-1/+2
| | | | | | | | | Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2530 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* ouch. always abuild with payloads! trivial fix.Stefan Reinauer2006-12-151-1/+1
| | | | | | | | Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2528 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Add an install target to the flashrom Makefile which installs flashromUwe Hermann2006-12-141-0/+5
| | | | | | | | | | | | into /usr/local/bin. Closes #54. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2524 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Update list of supported flash chips in the flashrom README (trivial).Uwe Hermann2006-12-041-1/+5
| | | | | | | | | Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2518 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* List the supported flash chips and southbridges in the flashromUwe Hermann2006-12-041-0/+58
| | | | | | | | | | | | | README file (trivial). Closes #52. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2517 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* fix romcc preprocessor bugEric Biederman2006-12-021-3/+8
| | | | | | | | Signed-off-by: Eric Biederman <ebiederman@lnxi.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2515 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Fix location of the bug tracker in the manpage (trivial).Uwe Hermann2006-11-221-2/+2
| | | | | | | | | Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2507 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* apply patch from Giampiero Giancipoli <gianci@email.it>:Giampiero Giancipoli2006-11-222-15/+50
| | | | | | | | | | | | | | | | | | | | | | Fixed write_page_write_jedec() in jedec.c. 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. 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> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2505 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Add support for ASD AE49F2008 Stefan Reinauer2006-11-212-0/+5
| | | | | | | | Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> (trivial patch) git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2504 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* flashrom: Only write the flash if the image has the same sizeStefan Reinauer2006-11-211-0/+13
| | | | | | | | | Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Segher Boessenkool <segher@kernel.crashing.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2503 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Rename SM_ID to SYNCMOS_ID (trivial).Uwe Hermann2006-11-212-5/+5
| | | | | | | | | Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2502 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Add support for the SyncMOS S29C51001T, S29C51004T, and S29C31004TUwe Hermann2006-11-212-1/+10
| | | | | | | | | | | flash chips to flashrom (closes: #50). Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2501 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Cosmetic fixes and typos (trivial).Uwe Hermann2006-11-201-17/+21
| | | | | | | | | Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2500 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Support for the 256K SyncMos S29C51002T flash.Giampiero Giancipoli2006-11-202-0/+5
| | | | | | | | | Signed-off-by: Giampiero Giancipoli <gianci@email.it> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2499 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* * fix the automatic build system by compressing payloads if possibleStefan Reinauer2006-11-101-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | and leaving enough room for a real payload (not /dev/null) This is a wonderful example why "uses" sucks. * add Config-abuild.lb for those boards that dont build with the default settings and a real payload: arima/hdama, amd/quartet, amd/serengeti_cheetah, ibm/e326 * if lzma is installed and a real payload is used, try compressing it. * fix a small bug in "abuild --help" This patch is acked by me because its due to infrastructural changes only. Flames welcome. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2496 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Instead of checking the first byte only, the whole part is checked now. ThisStefan Reinauer2006-11-071-5/+8
| | | | | | | | | will detect any improper erase, closes #31 Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2494 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Fix some code comments of the Intel PIIX4/PIIX4E/PIIX4M code.Uwe Hermann2006-11-071-4/+10
| | | | | | | | | | | | Add detailed instructions on how and where to get the datasheet, its name, and order number (Closes #34). Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2493 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Support for VIA VT82C686 in flashrom utility (trivial)Stefan Reinauer2006-11-071-0/+1
| | | | | | | | | closes #30 Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2492 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Fix bug in 'sed' invocation in abuild, which causes build errors inUwe Hermann2006-11-061-1/+1
| | | | | | | | | | | certain situations (Closes #22, refs #14). Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2491 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Add support for Intel PIIX4/PIIX4E/PIIX4M-based mainboards to flashrom.Uwe Hermann2006-11-051-0/+32
| | | | | | | | | | | Tested on real hardware, reading, detecting and writing various chips works. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2489 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* small tracker test (trivial change). closes #3Stefan Reinauer2006-10-281-1/+1
| | | | | | | | | fix bug report address Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2481 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Small tracker test (trivial change). closes #3Stefan Reinauer2006-10-281-1/+1
| | | | | | | | Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2480 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* enhance web page (trivial)Stefan Reinauer2006-10-251-1/+2
| | | | | | | | Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Closes #3 git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2475 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* support submitting tests to the test system in abuild. initial support.Stefan Reinauer2006-10-252-51/+113
| | | | | | | | Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Closes #3 git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2474 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* get rid of the border.stepan2006-10-201-1/+1
| | | | | | | Signed-Off-By: stepan@coresystems.de git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2465 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* add proper licensing information. thanks to Uwe Hermann.Stefan Reinauer2006-10-195-3/+100
| | | | git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2463 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* fix from Uwe Hermann: updated patch to fix a wiki syntax bug in the output...Stefan Reinauer2006-10-191-13/+16
| | | | git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2462 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* add xsl stylesheet for wiki table generationStefan Reinauer2006-10-172-2/+40
| | | | git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2458 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* add ADLO to v2Stefan Reinauer2006-10-1416-0/+12045
| | | | git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2457 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* * add vt8237 support (Uwe Hermann)Stefan Reinauer2006-10-141-1/+7
| | | | | | | * add more MCP51 support (me) git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2456 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* here's a small patch to add support for the SST 49LF020A to flashrom.Stefan Reinauer2006-10-072-0/+3
| | | | | | | | by Uwe Hermann <uwe@hermann-uwe.de> X-Signed-Off-By: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2450 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
OpenPOWER on IntegriCloud