aboutsummaryrefslogtreecommitdiffstats
path: root/board_enable.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Handle the following architectures in generic flashrom codeCarl-Daniel Hailfinger2010-05-261-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - x86/x86_64 (little endian) - PowerPC (big endian) - MIPS (big+little endian) No changes to programmer specific code. This means any drivers with MMIO access will _not_ suddenly start working on big endian systems, but with this patch everything is in place to fix them. Compilation should work on all architectures listed above for all drivers except nic3com and nicrealtek which require PCI Port IO which is x86-only for now. To compile without nic3com and nicrealtek, run make distclean make CONFIG_NIC3COM=no CONFIG_NICREALTEK=no Thanks to Misha Manulis for testing early versions of this patch on PowerPC (big endian) with the satasii programmer. Thanks to Segher Boessenkool for design review and for helping out with compiler tricks and pointing out that we need eieio on PowerPC. Thanks to Vladimir Serbinenko for compile testing on MIPS (little endian) and PowerPC (big endian) and for runtime testing on MIPS (little endian). Thanks to David Daney for compile testing on MIPS (big endian). Thanks to Uwe Hermann for compile and runtime testing on x86_64. DO NOT RUN flashrom ON NON-X86 AFTER APPLYING THIS PATCH! This patch only provides the infrastructure, but does not convert any drivers, so flashrom will compile, but it won't do the right thing on non-x86 platforms. Corresponding to flashrom svn r1013. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Misha Manulis <misha@manulis.com> Acked-by: Vladimir 'phcoder/φ-coder' Serbinenko <phcoder@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Segher Boessenkool <segher@kernel.crashing.org>
* Board enable for IP530Michael Karcher2010-05-241-0/+43
| | | | | | | Corresponding to flashrom svn r1010. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Marc Bertens <mbertens@xs4all.nl>
* Libpci < 2.2.4 can not store class info in struct pci_devCarl-Daniel Hailfinger2010-05-211-2/+4
| | | | | | | | | Read class info manually and store it in a separate variable. Corresponding to flashrom svn r1004. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Convert various prints to use msg_p* and msg_g* respectivelySean Nelson2010-05-071-48/+45
| | | | | | | | | Convert programmer print messages to msg_p* convert general print messages to msg_g* a few fixes as suggested by Carl-Daniel. Corresponding to flashrom svn r997. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Add board enable for ABit NF7-SMichael Karcher2010-04-111-0/+9
| | | | | | | | Corresponding to flashrom svn r993. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Tom Brand <worntreads@sbcglobal.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Polish the flashrom code comments and outputs a bitUwe Hermann2010-03-251-24/+24
| | | | | | | | | | | - Fix a number of typos (found via ispell). - Use correct vendor names (as per their websites) consistently. Corresponding to flashrom svn r985. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Autodetect ITE IT87* LPC->SPI translation on all boards without the need for ↵Carl-Daniel Hailfinger2010-03-251-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | a board enable Move boards which had an IT87* SPI board enable from the board enable list to the OK list. Mark the Gigabyte GA-MA78GPM-DS2H as OK. Change the it87spi forced port parameter to it87spiport=... Fix incorrect indentation in the man page. Tested by Ward Vandewege on both variants of the Gigabyte GA-M57SLI-S4 http://www.flashrom.org/pipermail/flashrom/2010-March/002712.html Tested by 李彥學 (Ian-Xue Li) on the Gigabyte GA-MA78GPM-DS2H http://www.flashrom.org/pipermail/flashrom/2010-March/002723.html Corresponding to flashrom svn r983. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Ward Vandewege <ward@gnu.org>
* Abit VT6X4 + Winbond W29C020C and Asus A7V133 + Atmel AT29C010A workMichael Karcher2010-03-241-2/+2
| | | | | | | | | | | | | | | | | Abit VT6X4 / W29C020C: See http://www.coreboot.org/pipermail/flashrom/2010-March/002730.html Fixes typo in comment and marks board-enable as tested (the flashrom running on that machine was patched with the board enable that got in later). Asus A7V133 / Atmel AT29C010A: See http://www.coreboot.org/pipermail/flashrom/2010-March/002729.html Adding "erase" to tested as there is only one erase function. Corresponding to flashrom svn r975. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Adds board enable to Termtek TK-3370 thin client motherboardDaniel Brandt2010-03-211-0/+12
| | | | | | | Corresponding to flashrom svn r962. Signed-off-by: Daniel Brandt <dbr@mindglow.se> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Rebased Board Enable Patch: iBase MB899Luc Verhaegen2010-03-191-0/+9
| | | | | | | Corresponding to flashrom svn r959. Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: Abit AN-M2Sean Nelson2010-03-191-0/+1
| | | | | | | | | Original patch by: Luc Verhaegen. Corresponding to flashrom svn r958. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Reversed-engineered board enable for the ASUS A8N-LASean Nelson2010-03-191-0/+2
| | | | | | | | | | | | | Rebased. IDs are ISA and SMBus. Added DMI string to match 3 HP boards: Nagami, Nagami2, Nagami2L. This could match any HP Nagami board. Needs testing. Corresponding to flashrom svn r957. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: 2nd attempt to fix board detection on GA-MA74GM-S2HPeter Lemenkov2010-03-191-1/+1
| | | | | | | | | | | | | This board (GA-MA74GM-S2H) has the same list of pciids as the GA-MA78M-S2H, so I narroved search conditions by populating corresponding board_pciid_enable entry for GA-MA78M-S2H with DMI pattern. Untested! Corresponding to flashrom svn r956. Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: Asus P4B533-EMichael Karcher2010-03-191-0/+2
| | | | | | | Corresponding to flashrom svn r955. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: Factor out Via Apollo GPO settingMichael Karcher2010-03-191-9/+37
| | | | | | | | | The board enable for the VT6X4 committed in r950 actually depended on this commit. Corresponding to flashrom svn r954. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: A8JM board_enable patchJames Lancaster2010-03-191-1/+10
| | | | | | | Corresponding to flashrom svn r953. Signed-off-by: James Lancaster <deathstalker@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: Abit KN8 UltraSean Nelson2010-03-191-0/+9
| | | | | | | | | Patch by Chris <zinx+flashrom@zenthought.org> Corresponding to flashrom svn r952. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: Intel SE440BX-2Michael Karcher2010-03-191-0/+9
| | | | | | | | | | | This board has no subsystem IDs, but thankfully the DMI patch is in now, which is a real life safer. There are *WAY* to many 440BX/PIIX4 boards out there to match this without DMI. Corresponding to flashrom svn r951. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: Abit VT6X4Michael Karcher2010-03-191-0/+9
| | | | | | | | | | | | This board has *no* usable IDs at all, neither DMI nor PCI subsystem IDs. You have to force it using "-m abit:vt6x4" Try 3: really correct polarity of the GPIO Corresponding to flashrom svn r950. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Rebased Board Enable Patch: Add Asus A8NLuc Verhaegen2010-03-191-0/+1
| | | | | | | Corresponding to flashrom svn r949. Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Add board enable for P4C800-EMichael Karcher2010-03-171-0/+2
| | | | | | | | | | Lspci/flashrom/superiotool at http://www.coreboot.org/pipermail/flashrom/2010-March/002579.html Corresponding to flashrom svn r947. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Enabling Gigabyte GA-MA69VM-S2Raúl Soriano2010-03-141-0/+1
| | | | | | | | | | This board has a supported chipset and a supported bios, but it's connected indirectly through IT8716 and not recognized. Corresponding to flashrom svn r935. Signed-off-by: Raúl Soriano <GatoLoko@gmail.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Various coding style and cosmetic changesUwe Hermann2010-03-131-28/+21
| | | | | | | | | | | | | - Fix coding-style, whitespace, and indentation in a few places. - Consistently use the same spelling ("Super I/O") everywhere. Corresponding to flashrom svn r933. - Make some flashrom stdout output look a bit nicer. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Fix NULL pointer reference in board_flash_enableMichael Karcher2010-03-111-1/+1
| | | | | | | | | Was introduced in r926. Found by Henrik Kretzschmar <henne@nachtwindheim.de>. Corresponding to flashrom svn r930. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Maciej Pijanka <maciej.pijanka@gmail.com>
* Add ASUS A7V8X-X write-enableRuss Dill2010-03-091-3/+6
| | | | | | | | | | I have an ASUS A7V8X-X, the BIOS programming requires a write-enable. It has an IT8712F, just like the A7V600-X. Corresponding to flashrom svn r929. Signed-off-by: Russ Dill <Russ.Dill@gmail.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Move untested board enable documentation to manpageMichael Karcher2010-03-071-24/+17
| | | | | | | | | | This also checks the testedness of boards in all cases, not just for PCI/DMI detection. Corresponding to flashrom svn r926. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Board enable for MS-7202 (K8N GM2-L)Michael Karcher2010-03-071-0/+2
| | | | | | | | | Board enable code is untested, marked as such. Corresponding to flashrom svn r925. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Board enable for Asus M2NBP-VM CSMMichael Karcher2010-03-071-0/+9
| | | | | | | | | Board info: http://www.coreboot.org/pipermail/flashrom/2009-December/001373.html Corresponding to flashrom svn r924. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Board enable for HP Vectra VL420SFFMichael Karcher2010-03-071-1/+4
| | | | | | | | | | | | | This code has been tested by Mattias Mattsson on 23. December 2009, but without the DMI match. Now that DMI support is in and working, the board can be added to mainline flashrom. board info: http://www.coreboot.org/pipermail/flashrom/2009-December/001440.html Corresponding to flashrom svn r923. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Board enable for Abit IP35 ProMichael Karcher2010-03-031-0/+2
| | | | | | | | | This board is like the IP35. Just changed the IDs to match. Corresponding to flashrom svn r920. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Timothy Lepre <Klavious@gmail.com>
* Implement tested/untested status for board enablesMichael Karcher2010-02-281-59/+83
| | | | | | | | | | | | | | | The message printing code greatly exceed the 80 character limit. I can reformat it on request to obey the limit. Intended behaviour: on untested boards an explanation of that status is printed and the board enable code is not run, unless the option "boardenable=force" has been passed to the internal programmer. Corresponding to flashrom svn r919. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Board enable for HP Vectra VL400Michael Karcher2010-02-271-0/+60
| | | | | | | | | | Corresponding to flashrom svn r918. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: bas nowaira <bas429@gmail.com> Acked-by: Luc Verhaegen <libv@skynet.be> Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Fix PIIX4 GPO setMichael Karcher2010-02-241-4/+7
| | | | | | | | | | Intel datasheet says "byte accesses only". Looks like they mean it. Also fix use of or instead of and for lowering GPOs. Corresponding to flashrom svn r910. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Luc Verhaegen <libv@skynet.be>
* Document the rules for DMI matching with PCI subsystem IDsCarl-Daniel Hailfinger2010-02-041-3/+9
| | | | | | | | | | The rules may change in the future, but right now it is important that the comments match the code. Corresponding to flashrom svn r893. 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>
* Allow DMI supported board enables with subsystem ID zeroMichael Karcher2010-02-041-1/+2
| | | | | | | | | This is needed for the Intel SE440BX-2 as well as the Asus P5A. Corresponding to flashrom svn r892. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Add a second set of PCI IDs for the Tekram P6Pro-A5Uwe Hermann2010-02-041-1/+1
| | | | | | | | | (Re-)tested on hardware, detection works OK. Corresponding to flashrom svn r890. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Add the Tekram P6Pro-A5 board as supportedUwe Hermann2010-01-311-0/+1
| | | | | | | | | | | | | The board doesn't need a board-enable, writing works out of the box. Also, the board can only decode 256KB. I verified this by writing a 512KB image of random bytes (which fails), whereas 256KB of random bytes can be written correctly. Corresponding to flashrom svn r887. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* The GIGABYTE GA-7ZM has a maximum decode size (parallel chips) of 512 KBUwe Hermann2010-01-281-7/+11
| | | | | | | | | | | | | | | | | Add this information to the new field in the board-enable table. We match the board via two sets of PCI IDs. However, as we don't need a board-enable function for this board (it works out of the box; well, at least if you remove the JP9 jumper on the board), change the code to allow NULL as value for the board-enable function. There will likely be more boards in the future where we want to record a maximum decode size but which don't need a board-enable. This is hardware-tested on the GIGABYTE GA-7ZM by successfully writing a 512KB image of random bytes to a chip in this board. Corresponding to flashrom svn r885. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Boards: Remove it8705_rom_write_enableLuc Verhaegen2010-01-201-50/+30
| | | | | | | | | Should be functionally the same as it8705f_write_enable_2e. Corresponding to flashrom svn r876. Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Boards: Add max_rom_decode_parallel entry to board enable tableLuc Verhaegen2010-01-201-67/+63
| | | | | | | | | This is a quick fix for board specific parallel addressing limits. Corresponding to flashrom svn r875. Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Sean Nelson <audiohacked@gmail.com>
* Matching board via DMIMichael Karcher2010-01-201-56/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a board is not uniquely identifiable by PCI device/subsystem IDs, a string can be specified to be looked for (case-sensitive, substring or anchored) for now in one of the following DMI items in addition to matching the PCI IDs: - System Manufacturer - System Product Name - System Version - Baseboard Manufacturer - Baseboard Product Name - Baseboard Version Strings are anchored re-like (^ at the beginning, $ at the end), but there are no plans to support full regular expressions and matched to any of the mentioned fields. The match is only made if DMI info is available and the string matches. If no DMI info is available and the PCI IDs match, a warning is printed as the board can not be autodetected. It's still open to discussion whether we add an DMI override switch to specify a string that will definitely match, and whether this switch is only used if no DMI is available or whether it overrides or augments DMI data. DMI data is currently read using dmidecode. This tool is available for all major platforms except MacOS X. I heard that there also is a MacOS X version of dmidecode, but didn't investigate that. Corresponding to flashrom svn r874. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Luc Verhaegen <libv@skynet.be> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* Commit 845 is wrong, as I deleted a wrong line when I wanted to remove ↵Michael Karcher2010-01-091-1/+1
| | | | | | | | | | | | | | debugging print code This (hopefully obviously correct) patch fixes the issue. As a previous version (before adding the debugging statement) was already executed on the board, the missing OUTW was executed on the testers machine on an earlier flashrom run. Corresponding to flashrom svn r846. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Luc Verhaegen <libv@skynet.be>
* Enable flashing on MSI 651M-LMichael Karcher2010-01-091-0/+32
| | | | | | | Corresponding to flashrom svn r845. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sergey Lichack <shadowpilot34@gmail.com>
* Board: Add MSI K8N Neo4-FLuc Verhaegen2009-12-231-0/+9
| | | | | | | Corresponding to flashrom svn r816. Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Fraser Hanson <fraser.hanson@gmail.com>
* Chipset/Board: vt8237: Set All mem cycles to LPC in chipset enableLuc Verhaegen2009-12-231-152/+53
| | | | | | | | | | | | | | | | | | | | | | | Only done for VT8237R (possibly needed for VT8237 too), VT8235 does not need this (even if the original bios does so: Asus A7V8X-MX SE, MSI KT4V were verified). This then opens a floodgate of cleanups in the board enables. * EPIA SP board enable vanishes, taking EPIA CN match with it. * Asus A7V8X-MX/Tyan S2498 board enable then equals w836xx_memw_enable_2e * AOpen vKM400Am-S board enable then equals it8705_rom_write_enable * Epia M board enable becomes via_vt823x_gpio15_raise * Epia N board enable becomes via_vt823x_gpio9_raise * Asus M2V-MX board enable becomes via_vt823x_gpio5_raise * vt823x_gpio_set becomes via_vt823x_gpio_set, and now detects ISA bridge itself, in concordance with intel ich and nvidia mcp gpio. Corresponding to flashrom svn r815. Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
* SuperI/O detection now happens unconditionally and before the chipset enableCarl-Daniel Hailfinger2009-12-221-0/+29
| | | | | | | | | | | | | | | | | We could run it after chipset enable, but it definitely has to happen before board enable because the board enable usually accesses the SuperI/O. With this patch, it is possible to add a struct superio to the board enable table for more accurate matching in case subsystem IDs are ambiguous. This patch focuses on the generic infrastructure aspect and on support for IT8712F/IT8716F. Thanks go to Adrian Glaubitz and Ward Vandewege for testing. Corresponding to flashrom svn r813. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Luc Verhaegen <libv@skynet.be> Acked-by: Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
* Boards: Fix several issues with nvidia_mcp_gpio_setLuc Verhaegen2009-12-221-3/+13
| | | | | | | | | | | | - CK804, MCP04, MCP2 use the isa bridges.. - Newer nvidia mcp's do use the smbus controllers (Found by Michael Karcher). - gpio line check breaks EPoX EP-8RDA3+, and should be wider. Corresponding to flashrom svn r810. Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
* Boards: Add ECS K7S6ALuc Verhaegen2009-12-181-1/+4
| | | | | | | | | | The nulled second set of subsystem ids is correct, and this seems to be a unique match. Corresponding to flashrom svn r808. Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: spirals <spirals@eircom.net>
* Use the maximum decode size infrastructureCarl-Daniel Hailfinger2009-12-171-6/+14
| | | | | | | | | | | | | | | | | | - Detect max FWH size for Intel 631xESB/632xESB/3100/ICH6/ICH7/ICH8/ICH9/ICH10. - Move IDSEL override before decode size checking for the chipsets listed above or flashrom will complain based on old values. - Adjust supported flash buses for the chipsets listed above (none of them supports LPC or Parallel). - Detect max parallel size for AMD/National Semiconductor CS5530. - Adjust supported flash buses for CS5530/CS5530A. - Set board-specific max decode size for Elitegroup K7VTA3. - Set board-specific max decode size for Shuttle AK38N. Corresponding to flashrom svn r806. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
* Boards: Formalize intel piix4 gpo settingLuc Verhaegen2009-12-141-19/+77
| | | | | | | | | | | | | | | | | | The function intel_piix4_gpo_set includes proper gpo pin checking, and gpo pin enables when necessary. This is a leftover from soyo SY-6BA+III code that turned out to be unnecessary, but still used for the epox ep-bx3 board enable which it cleans up and clarifies. Difference to old code: * typical bios delay io port 0xEB now never gets touched. * pci config byte 0xB0 was not altered before. Corresponding to flashrom svn r803. Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>