summaryrefslogtreecommitdiffstats
path: root/flash_enable.c
Commit message (Collapse)AuthorAgeFilesLines
* Split flash_enable.c into chipset_enable.c and board_enable.cLuc Verhaegen2007-04-041-597/+0
| | | | | | | | | | | | | | | | | | | | 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>
* Add support for the ICH7-DH southbridge (untested)Uwe Hermann2007-03-311-0/+1
| | | | | | | Corresponding to flashrom svn r96 and coreboot v2 svn r2575. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Peter Stuge <peter@stuge.se>
* The attached patch adds additional PCI IDs for MCP55 LPC devicesEd Swierk2007-03-061-0/+5
| | | | | | | | | | | 0x0360 is needed to support the DFI LANParty NF590SLI, and I am deducing the others based on pci_ids.h in the Linux kernel. Corresponding to flashrom svn r94 and coreboot v2 svn r2570. 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>
* Fix wrong VT8235 flash enable failed warningLuc 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. Corresponding to flashrom svn r93 and coreboot v2 svn r2568. Signed-off-by: Luc Verhaegen <libv@skynet.be> Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de>
* Add support for the Gigabyte m57sli-s4 boardWard Vandewege2007-02-281-0/+1
| | | | | | | Corresponding to flashrom svn r91 and coreboot v2 svn r2564. Signed-off-by: Ward Vandewege <ward@gnu.org> Acked-by: Stefan Reinauer <stepan@coresystems.de>
* This patch is a rework of Adam Kaufman's Solaris patchAdam Kaufman2007-02-061-25/+19
| | | | | | | | | | | | | | | | | | | | | | * 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>
* Delete superfluous and incorrect commentUwe Hermann2007-01-241-1/+0
| | | | | | | Corresponding to flashrom svn r86 and coreboot v2 svn r2538. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Add support for the SST-49LF004C, SST-49LF008C, SST-49LF016CYinghai Lu2007-01-221-0/+44
| | | | | | | | | | 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>
* Fix some code comments of the Intel PIIX4/PIIX4E/PIIX4M codeUwe Hermann2006-11-071-4/+10
| | | | | | | | | | Add detailed instructions on how and where to get the datasheet, its name, and order number. Corresponding to flashrom svn r70 and coreboot v2 svn r2493. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de>
* Support for VIA VT82C686 utilityStefan Reinauer2006-11-071-0/+1
| | | | | | | | Corresponding to flashrom svn r69 and coreboot v2 svn r2492. closes #30 Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de>
* Add support for Intel PIIX4/PIIX4E/PIIX4M-based mainboardsUwe Hermann2006-11-051-0/+32
| | | | | | | | | Tested on real hardware, reading, detecting and writing various chips works. Corresponding to flashrom svn r68 and coreboot v2 svn r2489. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de>
* Multiple unrelated changesStefan Reinauer2006-10-141-1/+7
| | | | | | | * add vt8237 support (Uwe Hermann) * add more MCP51 support (me) Corresponding to flashrom svn r67 and coreboot v2 svn r2456.
* Add patch from Uwe Hermann to support more ICH southbridgesStefan Reinauer2006-09-061-39/+30
| | | | Corresponding to flashrom svn r62 and coreboot v2 svn r2395.
* Print a warning if southbridge is not knownStefan Reinauer2006-08-251-5/+9
| | | | Corresponding to flashrom svn r61 and coreboot v2 svn r2390.
* Add support for SST39SF040, SST39SF010A and W39V040BStefan Reinauer2006-07-311-0/+1
| | | | Corresponding to flashrom svn r58 and coreboot v2 svn r2354.
* Multiple unrelated changesScott Tsai2006-03-311-0/+1
| | | | | | | | | * SST_49LF040B flash support for flashrom * add ICH4-M support to flashrom Corresponding to flashrom svn r52 and coreboot v2 svn r2230. Signed-off-by: Scott Tsai <scott.tsai@arima.com.tw>
* Multiple unrelated changesStefan Reinauer2006-03-311-10/+84
| | | | | | | | * support for Winbond W39V040A * Support for ATI SB400 (RS480 chipset) * Support for Intel ICH7 (from Scott Tsai <scott.tsai@arima.com.tw>) Corresponding to flashrom svn r51 and coreboot v2 svn r2229.
* Add support for ICH5Ronald G. Minnich2006-02-241-0/+1
| | | | Corresponding to flashrom svn r42 and coreboot v2 svn r2183.
* Flashrom update from Stefan, resolve issue 21Ollie Lho2005-11-261-9/+105
| | | | Corresponding to flashrom svn r34 and coreboot v2 svn r2111.
* Nvidia Ck804 supportYinghai Lu2005-07-061-0/+38
| | | | | | Corresponding to flashrom svn r32 and coreboot v2 svn r1946. Signed-off-by: Yinghai Lu <yhlu@tyan.com>
* Enable LPC decoding for 1 MB more addresss, for supporting SST49LF00xA/BOllie Lho2004-12-071-3/+2
| | | | Corresponding to flashrom svn r28 and coreboot v2 svn r1813.
* Add support for ICH4Ronald G. Minnich2004-09-281-0/+26
| | | | | | More i955pm stuff. Corresponding to flashrom svn r23 and coreboot v2 svn r1649.
* Remove false alarm of erase/write, use verify '-v' if you are not sure about ↵Ollie Lho2004-03-271-27/+17
| | | | | | the integrity Corresponding to flashrom svn r19 and coreboot v2 svn r1486.
* Consolidate more jedec standard codeOllie Lho2004-03-201-42/+54
| | | | Corresponding to flashrom svn r15 and coreboot v2 svn r1457.
* Move utility functions into new source filesOllie Lho2004-03-171-0/+278
Corresponding to flashrom svn r6 and coreboot v2 svn r1428.
OpenPOWER on IntegriCloud