coreboot.git
16 years agoFix typo. According to National's datasheet PC87317 has SID = 0xd0 and
Ulf Jordan [Fri, 7 Dec 2007 21:55:12 +0000 (21:55 +0000)]
Fix typo. According to National's datasheet PC87317 has SID = 0xd0 and
PC97317 has SID = 0xdf. PC87371/PC97371 do not seem to exist.

Signed-off-by: Ulf Jordan <jordan@chalmers.se>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2999 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoRemove the coherent_ht_car.c file. It is exactly the same as
Uwe Hermann [Wed, 5 Dec 2007 19:26:55 +0000 (19:26 +0000)]
Remove the coherent_ht_car.c file. It is exactly the same as
coherent_ht.c (save one empty line removed) so there's no use
to keep it around.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Marc Jones <marc.jones@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2998 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoVarious coding style fixes, constification, fixed typos (trivial).
Uwe Hermann [Tue, 4 Dec 2007 21:49:06 +0000 (21:49 +0000)]
Various coding style fixes, constification, fixed typos (trivial).

Also, s/0xFF80/0xFFC0/ in the Acorp 6A815EPD board-enable, as per
http://www.linuxbios.org/pipermail/linuxbios/2007-December/027750.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@2997 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoEnable vga option rom support for 1MB rom chip, which is what the h8dmr ships with...
Ward Vandewege [Tue, 4 Dec 2007 01:15:29 +0000 (01:15 +0000)]
Enable vga option rom support for 1MB rom chip, which is what the h8dmr ships with (trivial).

Signed-off-by: Ward Vandewege <ward@gnu.org>
Acked-by: Ward Vandewege <ward@gnu.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2996 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd board-enable for Acorp 6A815EPD.
Jonathan A. Kollasch [Sun, 2 Dec 2007 19:03:23 +0000 (19:03 +0000)]
Add board-enable for Acorp 6A815EPD.

Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2995 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoImprove support for the Intel 82371FB/SB/AB/EB/MB southbridge(s):
Uwe Hermann [Fri, 30 Nov 2007 02:08:26 +0000 (02:08 +0000)]
Improve support for the Intel 82371FB/SB/AB/EB/MB southbridge(s):

 - Implement ISA related support:
   - Initialize the RTC
   - Enable access to all BIOS regions (but _not_ write access to ROM)
   - Enable ISA (not EIO) support
   - Without the *_isa.c file, the Super I/O init is never performed
 - Improve IDE support:
   - Add config option to enable Ultra DMA/33 for each disk
   - Add config option to enable legacy IDE port access
 - Implement hard reset support
 - Implement USB controller support
 - Various code cleanups and improvements

The code partially supports southbridges other than the 82371EB (but
which are very similar), more complete support will follow.

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@2994 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agofix abuild.
Stefan Reinauer [Thu, 29 Nov 2007 15:01:53 +0000 (15:01 +0000)]
fix abuild.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2993 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoVarious small fixes (trivial).
Uwe Hermann [Thu, 29 Nov 2007 02:43:50 +0000 (02:43 +0000)]
Various small fixes (trivial).

 - Add missing contributors to the README.

 - Drop obsolete -D option from manpage.

 - Only list contributors who added non-trivial amounts of code as copyright
   holders (and do not list those who merely provided register dump support
   for Super I/Os). Those contributors are still listed in the README,
   of course. See discussion in the thread starting at
   http://www.linuxbios.org/pipermail/linuxbios/2007-October/025516.html

 - Make a function static.

 - Fix incorrect URL in code comment. Drop obsolete comments.

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@2992 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoFlashrom does not work after booting LinuxBIOS on the Iwill DK8-HTX board,
Mondrian Nuessle [Thu, 29 Nov 2007 02:28:55 +0000 (02:28 +0000)]
Flashrom does not work after booting LinuxBIOS on the Iwill DK8-HTX board,
according to mcqmcqmcq@fastmail.fm. Fix it.

Signed-off-by: Mondrian Nuessle <nuessle@uni-mannheim.de>
Acked-by: mcq <mcqmcqmcq@fastmail.fm>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2991 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoRestructure/rename/comment a few 82371XX-related PCI IDs (trivial).
Uwe Hermann [Thu, 29 Nov 2007 01:44:43 +0000 (01:44 +0000)]
Restructure/rename/comment a few 82371XX-related PCI IDs (trivial).

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@2990 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoUpdate AMD CPU IDs in model_fxx_init.c with information from
Uwe Hermann [Thu, 29 Nov 2007 01:25:29 +0000 (01:25 +0000)]
Update AMD CPU IDs in model_fxx_init.c with information from
the latest version (Rev. 3.73, October 2007) of the 'Revision Guide for
AMD Athlon 64 and AMD Opteron Processors' datasheet.

Also, add information about the CPU socket for each ID (as per datasheet).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2989 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoDrop the unfinished, non-working Bitworks IMS board.
Uwe Hermann [Tue, 27 Nov 2007 01:24:46 +0000 (01:24 +0000)]
Drop the unfinished, non-working Bitworks IMS board.

It never worked in v2 (the v1 port did work AFAIK, though), and it's
not really useful as reference for other boards anymore (as we now
have a dozen or so 440BX boards which work in v2).

This is a specialized, custom board (not sold on the "public market"),
so it's probably not useful for pretty much everyone out there anyway.

We can easily re-add it later (based on one of the other 440BX boards)
should there be interest and/or someone with the hardware to test.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2988 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoCorrection to irq tables.
Ronald G. Minnich [Mon, 26 Nov 2007 21:43:21 +0000 (21:43 +0000)]
Correction to irq tables.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2987 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoDump support for SMSC FDC37C67x.
Robinson P. Tryon [Sun, 25 Nov 2007 21:43:29 +0000 (21:43 +0000)]
Dump support for SMSC FDC37C67x.

Signed-off-by: Robinson P. Tryon <bishop.robinson@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2986 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoMore abuild fixes, the previous ones weren't enough. Hopefully this covers everything.
Corey Osgood [Sun, 25 Nov 2007 03:49:43 +0000 (03:49 +0000)]
More abuild fixes, the previous ones weren't enough. Hopefully this covers everything.

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2985 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoSmall abuild fix for the iwill dk8_htx and latest iasl. Building this still fails...
Corey Osgood [Sun, 25 Nov 2007 01:08:20 +0000 (01:08 +0000)]
Small abuild fix for the iwill dk8_htx and latest iasl. Building this still fails for me, but it's an lzma error and probably Debian's fault.

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2984 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoabuild fix for the asus a8v-e_se and newest iasl version (trivial)
Corey Osgood [Sun, 25 Nov 2007 00:58:09 +0000 (00:58 +0000)]
abuild fix for the asus a8v-e_se and newest iasl version (trivial)

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2983 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoabuild fix for the amd serengeti_cheetah and the latest iasl version (trivial)
Corey Osgood [Sun, 25 Nov 2007 00:50:06 +0000 (00:50 +0000)]
abuild fix for the amd serengeti_cheetah and the latest iasl version (trivial)

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2982 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoFix abuild for ASUS MEW-AM.
Uwe Hermann [Sun, 25 Nov 2007 00:13:51 +0000 (00:13 +0000)]
Fix abuild for ASUS MEW-AM.

You cannot set 'default ROM_SIZE = 0' in Options.lb (and override it in
targets/*/Config.lb). While it'll work for manual builds, abuild doesn't
cope with that very well. So set a valid value in Options.lb, too.

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@2981 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd support for the ASUS MEW-AM board.
Uwe Hermann [Sat, 24 Nov 2007 22:09:38 +0000 (22:09 +0000)]
Add support for the ASUS MEW-AM board.

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@2980 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd dump support for the PC87366.
Ulf Jordan [Sat, 24 Nov 2007 21:49:39 +0000 (21:49 +0000)]
Add dump support for the PC87366.

Signed-off-by: Ulf Jordan <jordan@chalmers.se>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2979 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoMark devices which are not available on the board with "N/A" to
Uwe Hermann [Thu, 22 Nov 2007 14:55:13 +0000 (14:55 +0000)]
Mark devices which are not available on the board with "N/A" to
make it clearer why they are disabled (trivial).

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@2978 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoDump support for the SMSC LPC47B27x (trivial).
Uwe Hermann [Thu, 22 Nov 2007 03:36:18 +0000 (03:36 +0000)]
Dump support for the SMSC LPC47B27x (trivial).

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@2977 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years ago1. Fix pirq routing table setting for GA-2761GXDK.
Morgan Tsai [Tue, 20 Nov 2007 14:11:24 +0000 (14:11 +0000)]
1. Fix pirq routing table setting for GA-2761GXDK.
2. Southbridge PCIe slots are working correctly now.
3. Disable keyboard & mouse ports for GA-2761GXDK.

Signed-off-by: Morgan Tsai <my_tsai@sis.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2976 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoDetection support for more Super I/Os. Small fixes (trivial).
Uwe Hermann [Sat, 17 Nov 2007 17:13:52 +0000 (17:13 +0000)]
Detection support for more Super I/Os. Small fixes (trivial).

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@2975 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoVarious cosmetic fixes and improvements (trivial).
Uwe Hermann [Thu, 15 Nov 2007 15:52:42 +0000 (15:52 +0000)]
Various cosmetic fixes and improvements (trivial).

 - Use 'static' where appropriate.
 - Use 'const' where appropriate.
 - Indentation fixes.
 - Add comment wrt init code which is only valid for VT8237R.

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@2974 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoGigabyte M57SLI: Fix watchdog clocksource to be external, not internal.
Carl-Daniel Hailfinger [Wed, 14 Nov 2007 17:57:04 +0000 (17:57 +0000)]
Gigabyte M57SLI: Fix watchdog clocksource to be external, not internal.

Reason: The existing code does not tell us why it sets the watchdog
clock at all, but since it appears in cache_as_ram_auto.c instead of
the usual place (Config.lb) there has to be some meaning to it.
Simply do what the proprietary bios does: Use the external clock source.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Ward Vandewege <ward@gnu.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2973 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAutodetect presence of serial flash and set up the board accordingly.
Carl-Daniel Hailfinger [Wed, 14 Nov 2007 15:09:30 +0000 (15:09 +0000)]
Autodetect presence of serial flash and set up the board accordingly.
This enables us to have only one configuration and one set of code for
all revisions of the Gigabyte GA-M57SLI-S4.
Flash is now setup correctly for both SPI and LPC flash.

Detection of SPI flash in flashrom on rev. 2.x boards now hangs
instead of failing. However, that is just an effect of the combination
of incomplete initialization of the SPI controller and paranoid checks
in the flashrom SPI code.
If anyone wants to work on that, he needs a logic analyzer or creative
imagination. Hint: LPC-to-SPI read passthrough, clock signal.

Remaining issues for the M57SLI: Fan/environment control.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Harald Gutmann <harald.gutmann@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2972 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years ago* Maintaining SiS south bridge device IDs.
Morgan Tsai [Wed, 14 Nov 2007 01:34:02 +0000 (01:34 +0000)]
* Maintaining SiS south bridge device IDs.
* Strip unnecessary driver modules.

Signed-off-by: Morgan Tsai <my_tsai@sis.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2971 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd detection and dump support for the SMSC FDC37N958FR (trivial).
Uwe Hermann [Wed, 14 Nov 2007 00:30:36 +0000 (00:30 +0000)]
Add detection and dump support for the SMSC FDC37N958FR (trivial).

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@2970 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoSmall fix to make abuild happy (trivial).
Uwe Hermann [Tue, 13 Nov 2007 23:32:03 +0000 (23:32 +0000)]
Small fix to make abuild happy (trivial).

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@2969 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoFix ACPI issues brought up with Intel's latest ASL compiler.
Stefan Reinauer [Tue, 13 Nov 2007 21:20:13 +0000 (21:20 +0000)]
Fix ACPI issues brought up with Intel's latest ASL compiler.

iasl now defaults to put created files into the input file's path, not into the
current directory.

This (trivial) patch fixes the behavior for the northbridge specific ASL code.

Further checkins to be expected.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2968 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years ago[LinuxBIOS] flashrom support for AMD Geode CS5536
Lane Brooks [Tue, 13 Nov 2007 16:45:22 +0000 (16:45 +0000)]
[LinuxBIOS] flashrom support for AMD Geode CS5536

Attached is a patch that enables AMD Geode CS5536 chipset support.  I
have tested it successfully on a MSM800 board from digital logic.

Signed-off-by: Lane Brooks <lbrooks@mit.edu>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2967 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoRandom minor cosmetical or coding style fixes (trivial).
Uwe Hermann [Tue, 13 Nov 2007 16:24:15 +0000 (16:24 +0000)]
Random minor cosmetical or coding style fixes (trivial).

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@2966 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd support for FID/VID changes messages.
Rudolf Marek [Tue, 13 Nov 2007 15:40:21 +0000 (15:40 +0000)]
Add support for FID/VID changes messages.

Upon incoming SMAF message from CPU (C3 or FID/VID change), the SB will
assert SLP# which is connected to LDTSTOP_L on K8 CPUs. Question is for how
long. Imho for 100us. Which is more than plenty (2us required) I will try
to justify this once I know what bios to set in SB.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2965 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoSmall fixes. Drop unneeded or incorrect lines (trivial).
Uwe Hermann [Tue, 13 Nov 2007 15:26:56 +0000 (15:26 +0000)]
Small fixes. Drop unneeded or incorrect lines (trivial).

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@2964 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd dump support for NSC PC87360.
Ulf Jordan [Tue, 13 Nov 2007 15:16:06 +0000 (15:16 +0000)]
Add dump support for NSC PC87360.

Signed-off-by: Ulf Jordan <jordan@chalmers.se>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2963 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoFix ATMEL 29C020 detection with flashrom. The JEDEC probe routine had
Carl-Daniel Hailfinger [Tue, 13 Nov 2007 14:56:54 +0000 (14:56 +0000)]
Fix ATMEL 29C020 detection with flashrom. The JEDEC probe routine had
a delay of 10 us after entering ID mode and this was insufficient for
the 29C020. The data sheet claims we have to wait 10 ms, but tests have
shown that 20 us suffice. Allow for variations in chip delays with a
factor of 2 safety margin.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2962 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoDrop obsolete failover.c, forgot it in the last commit (trivial).
Uwe Hermann [Tue, 13 Nov 2007 14:40:45 +0000 (14:40 +0000)]
Drop obsolete failover.c, forgot it in the last commit (trivial).

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@2961 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoVarious small fixes to make the Tyan S1846 match the format of
Uwe Hermann [Tue, 13 Nov 2007 14:31:30 +0000 (14:31 +0000)]
Various small fixes to make the Tyan S1846 match the format of
the other supported 440BX boards.

Fix up totally b0rked static device tree in Config.lb.
Drop useless and duplicated failover.c, use global one.
Make CPU init actually work (result: massive speed-up).

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@2960 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd support for the Advantech PCM-5820.
Uwe Hermann [Tue, 13 Nov 2007 14:26:54 +0000 (14:26 +0000)]
Add support for the Advantech PCM-5820.

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@2959 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoFine-tune the V-link bus between K8T890 and VT8237R and set
Rudolf Marek [Tue, 13 Nov 2007 10:47:11 +0000 (10:47 +0000)]
Fine-tune the V-link bus between K8T890 and VT8237R and set
it to 8X transfer rate (up to 1066 MB/s) similar code placed here would be
needed for VT8237A/S etc. Using VIA recommended values despite they are for
K8T890CF, this is K8T890CE (still dont know what is exactly different).

This patch enables the parity error reporting on V-Link, so it enables NMI
generation for the SERR# errors. The NMI may not be generated, maybe port
61h needs some tuning too.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2958 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoGrouping register dumps by 8 register values per group for better readability.
Frieder Ferlemann [Tue, 13 Nov 2007 09:09:33 +0000 (09:09 +0000)]
Grouping register dumps by 8 register values per group for better readability.
Remove trailing spaces within the register dumps.

Signed-off-by: Frieder Ferlemann <Frieder.Ferlemann@web.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2957 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoDrop superfluous exit_conf_mode*() calls, we don't want to call them twice.
Uwe Hermann [Mon, 12 Nov 2007 21:02:44 +0000 (21:02 +0000)]
Drop superfluous exit_conf_mode*() calls, we don't want to call them twice.
Small cosmetic fixes (trivial).

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@2956 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoFix the remaining issues with GA-M57SLI Super I/O GPIO configuration.
Carl-Daniel Hailfinger [Mon, 12 Nov 2007 11:14:10 +0000 (11:14 +0000)]
Fix the remaining issues with GA-M57SLI Super I/O GPIO configuration.

With this patch, flashing the parallel EEPROM on board revisions 1.x
finally works. Flashing the serial EEPROM of board revisions 2.x is just
one patch away.

Torsten Duwe says:
Flash erase on my board was failing reliably. Now it works!

Andreas B. Mundt says:
For the first time I was able to write with flashrom and LB.
$flashrom -Vv --write linuxbios.rom
[...]
Vendor ID: GIGABYTE, part ID: m57sli
Found chipset "NVIDIA MCP55", enabling flash write... OK.
[...]
SST49LF040B found at physical address 0xfff80000.
Flash part is SST49LF040B (512 KB).
LinuxBIOS last image size (not ROM size) is 4096 bytes.
Manufacturer: GIGABYTE
Mainboard ID: m57sli
This firmware image matches this motherboard.
Programming page: 0007 at address: 0x00070000
Verifying flash... VERIFIED.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Torsten Duwe <duwe@lst.de>
Tested-by: Andreas B. Mundt <andi.mundt@web.de>
Tested-by: Torsten Duwe <duwe@lst.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2955 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoTry to fix a few loose ends on the GA-M57SLI Super I/O GPIO
Carl-Daniel Hailfinger [Mon, 12 Nov 2007 02:33:31 +0000 (02:33 +0000)]
Try to fix a few loose ends on the GA-M57SLI Super I/O GPIO
configuration.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Torsten Duwe <duwe@lst.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2954 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoFix up totally broken Super I/O config on the MS-6178. Add
Uwe Hermann [Thu, 8 Nov 2007 02:28:43 +0000 (02:28 +0000)]
Fix up totally broken Super I/O config on the MS-6178. Add
PIRQ table to make most devices work. Random small fixes (trivial).

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@2953 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoFinal set of changes to make Alix1c work.
Ronald G. Minnich [Wed, 7 Nov 2007 23:13:43 +0000 (23:13 +0000)]
Final set of changes to make Alix1c work.

Fix IRQ tables (Thanks to Marc Jones)

Fix IRQ SLOT #

Comment out ram test in early startup.

make the debug print in lx/raminit.c a debug print, not emerg print

Set the default console log level to 3, but leave in the possibility of
running with more info (leave maximum at 11)

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Marc Jones <marc.jones@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2952 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd initial support for all known ICH* southbridges to the
Uwe Hermann [Wed, 7 Nov 2007 22:09:02 +0000 (22:09 +0000)]
Add initial support for all known ICH* southbridges to the
i82801xx code for the following parts:

 - AC97 audio/modem
 - Onboard network interface cards (NICs)
 - USB 1.1 controllers
 - SMBus controllers

Some other parts are still missing and will be added later.

Use PCI ID #defines from pci_ids.h everywhere. Constify various structs.
Also, fix some random cosmetic issues in the code.

All of this is relatively trivial and tested by manually building
all boards which currently use the i82801xx code.

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@2951 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoMake the LZMA compression option work in buildrom.
Myles Watson [Wed, 7 Nov 2007 19:07:17 +0000 (19:07 +0000)]
Make the LZMA compression option work in buildrom.

Signed-off-by: Myles Watson <myles@pel.cs.byu.edu>
Acked-by: Ward Vandewege <ward@gnu.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2950 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThis patch masks the function prototypes in stdlib.h from ROMCC, so that
Corey Osgood [Wed, 7 Nov 2007 19:02:35 +0000 (19:02 +0000)]
This patch masks the function prototypes in stdlib.h from ROMCC, so that
ARRAY_SIZE() can be used on ROMCC-dependent systems. Also adds stdlib.h
to vt8237r_early_smbus.c, so it'll build on those systems.

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2949 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThis patch adds the pci ids of c7 cpus to the existing model_centaur. c3
Corey Osgood [Wed, 7 Nov 2007 18:55:06 +0000 (18:55 +0000)]
This patch adds the pci ids of c7 cpus to the existing model_centaur. c3
and c7 init are identical, according to the datasheets, so there's no
need for another folder. As the comment says, some of these model IDs
may never be produced, but they are reserved by Via for the c7.

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2948 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd PCI IDs for most Intel southbridges of the 82801 series
Uwe Hermann [Wed, 7 Nov 2007 00:19:42 +0000 (00:19 +0000)]
Add PCI IDs for most Intel southbridges of the 82801 series
(ICH/ICH0 up to the ICH9 family) in preparation for further
code improvements for the i82801xx southbridge code.

Small fixes in the 6300ESB PCI IDs.

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@2947 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoFix the M57SLI routing table, as apparently set up from LinuxBIOS on
Torsten Duwe [Mon, 5 Nov 2007 22:35:01 +0000 (22:35 +0000)]
Fix the M57SLI routing table, as apparently set up from LinuxBIOS on
that board. Shift PCIe pin numbers downwards, and PCI int pins upwards.
This puts both PCI slots' int A and PCIe 16x int A into the right
position.

Signed-off-by: Torsten Duwe <duwe@lst.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2946 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years ago* Change one PCI vendor ID from Nvidia to SiS
Carl-Daniel Hailfinger [Mon, 5 Nov 2007 22:21:27 +0000 (22:21 +0000)]
* Change one PCI vendor ID from Nvidia to SiS
* Remove dead code
* Remove unused variables
* Fix bug where array was one element too small
* Fix error value truncation, the old code never entered the error path
* Remove warnings

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2945 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agomake agami aruma compile again.
Stefan Reinauer [Sun, 4 Nov 2007 23:37:44 +0000 (23:37 +0000)]
make agami aruma compile again.

Rudolf's suggestion making the symbol weak is elegant, but let's allow
some more discussion.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2944 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoanother small abuild fix.. add payload compression "uses" for the a8v-e-se
Stefan Reinauer [Sun, 4 Nov 2007 19:03:42 +0000 (19:03 +0000)]
another small abuild fix.. add payload compression "uses" for the a8v-e-se

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2943 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoSmall fix to make abuild happy on the asus/a8v-e_se (trivial)
Corey Osgood [Sun, 4 Nov 2007 17:29:01 +0000 (17:29 +0000)]
Small fix to make abuild happy on the asus/a8v-e_se (trivial)

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2942 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd dummy function for MCFG on those mainboards that provide ACPI but don't
Stefan Reinauer [Sun, 4 Nov 2007 16:50:27 +0000 (16:50 +0000)]
Add dummy function for MCFG on those mainboards that provide ACPI but don't
have PCIe MMCONFIG.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2941 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agomerge changes to match agami's production environment
Stefan Reinauer [Sun, 4 Nov 2007 16:25:05 +0000 (16:25 +0000)]
merge changes to match agami's production environment

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2940 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoVarious cosmetics, coding style fixes, constifications (trivial).
Uwe Hermann [Sun, 4 Nov 2007 04:04:01 +0000 (04:04 +0000)]
Various cosmetics, coding style fixes, constifications (trivial).

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@2939 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoRestructure the PCI IDs list for the ICH* chipsets from ICH/ICH0 up to
Uwe Hermann [Sun, 4 Nov 2007 03:21:37 +0000 (03:21 +0000)]
Restructure the PCI IDs list for the ICH* chipsets from ICH/ICH0 up to
ICH5/ICH5R (more to follow) in preparation of further 82801xx improvements.

Use human-readable names for the PCI ID #defines.
Rename *_ISA to *_LPC as per datasheet.
The 82801DBM only has 3 (not 4) USB devices, looks like a copy-paste error.

The fixes in southbridge code are only to keep the build working for now,
any real improvements will only go into the 82801xx code in future.

This is abuild-tested so it shouldn't break anything.

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@2938 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThis patch is some small changes to the vt8237r to prepare it for
Corey Osgood [Sat, 3 Nov 2007 18:45:42 +0000 (18:45 +0000)]
This patch is some small changes to the vt8237r to prepare it for
the Jetway J7F2 patch that should be coming soon, and also moves most
defines into vt8237r.h. I've changed some of the values from u32 to u8,
because that's all they should ever need to be. Also includes
doxygenized comments!

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2937 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThis patch adds support for MCFG table, which allows OS to find the
Rudolf Marek [Sat, 3 Nov 2007 12:50:26 +0000 (12:50 +0000)]
This patch adds support for MCFG table, which allows OS to find the
MMCONFIG for memory mapped PCIe config.

However this patch is not enough to enable it on Linux, Linux do not trust
BIOSes too much, so a small patch to kernel to disable the check if this
region is e820 reserved.

PCI: BIOS Bug: MCFG area at e0000000 is not E820-reserved
PCI: Not using MMCONFIG.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2936 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThis patch changes the "if else" style of parameter matching to table and also change...
Rudolf Marek [Fri, 2 Nov 2007 23:27:12 +0000 (23:27 +0000)]
This patch changes the "if else" style of parameter matching to table and also changes the rdpreamble parameter, which will cause that more then one DIMM will work for 939 motherboard.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2935 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAsus A8V-E-SE support from Rudolf Marek
Rudolf Marek [Fri, 2 Nov 2007 23:17:57 +0000 (23:17 +0000)]
Asus A8V-E-SE support from Rudolf Marek

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2934 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoremaining part of the patch.
Stefan Reinauer [Fri, 2 Nov 2007 17:05:04 +0000 (17:05 +0000)]
remaining part of the patch.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2933 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoDelete a file no longer used by the SiS implementation
Jordan Crouse [Fri, 2 Nov 2007 16:18:25 +0000 (16:18 +0000)]
Delete a file no longer used by the SiS implementation
No functional code changes.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2932 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years ago1. vgabios removed, will go to extra repository
Morgan Tsai [Fri, 2 Nov 2007 16:09:58 +0000 (16:09 +0000)]
1. vgabios removed, will go to extra repository

2. Rename sisnb.c to sis761.c
3. Delete many mis-definition for sis device in
   src/include/device/pci_ids.h
4. Trim trailing spaces for all files

Signed-off-by: Morgan Tsai <my_tsai@sis.com>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2931 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agofix up iwill board compilation. Untested, trivial
Stefan Reinauer [Fri, 2 Nov 2007 12:54:49 +0000 (12:54 +0000)]
fix up iwill board compilation. Untested, trivial

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2930 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agofix up IBM servers.
Stefan Reinauer [Fri, 2 Nov 2007 12:35:30 +0000 (12:35 +0000)]
fix up IBM servers.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2929 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoget arima hdama building again.
Stefan Reinauer [Fri, 2 Nov 2007 11:06:40 +0000 (11:06 +0000)]
get arima hdama building again.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2928 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agofix juki 511p abuild by adding a Config-abuild.lb. (trivial)
Stefan Reinauer [Fri, 2 Nov 2007 10:36:15 +0000 (10:36 +0000)]
fix juki 511p abuild by adding a Config-abuild.lb. (trivial)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2927 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThis patch fixes the superio of the khepri 2100e as detected:
Stefan Reinauer [Fri, 2 Nov 2007 09:48:14 +0000 (09:48 +0000)]
This patch fixes the superio of the khepri 2100e as detected:
> superiotool r2922
> Found Winbond W83627HF/F/HG/G (id=0x52, rev=0x0d) at 0x2e

Don't use the non-working trident driver for the blade3d (onboard vga
in the rom emulator has not been tested either)

It also adds some preliminary CAR support to the board, so it has a chance to
build again.

This board was broken since a couple of months, and the changes are minimal, so
I consider this a trivial change -- It doesn't change anything that was used,
obviously

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2926 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agotrivial fix for the .data problem
Stefan Reinauer [Fri, 2 Nov 2007 00:31:11 +0000 (00:31 +0000)]
trivial fix for the .data problem

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2925 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThis patch is a trivial response to a good comment from Uwe, so I am
Ronald G. Minnich [Thu, 1 Nov 2007 15:15:14 +0000 (15:15 +0000)]
This patch is a trivial response to a good comment from Uwe, so I am
self-acking before it gets lost.

Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2924 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoUse the preferred order of 'static const' instead of 'const static'.
Uwe Hermann [Wed, 31 Oct 2007 22:26:51 +0000 (22:26 +0000)]
Use the preferred order of 'static const' instead of 'const static'.
This is the common style in both Linux as well as in LinuxBIOS.

Self-ack as this is pretty trivial and a similar patch was already acked.

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@2923 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoUse the preferred order of 'static const' instead of 'const static'.
Uwe Hermann [Wed, 31 Oct 2007 22:22:11 +0000 (22:22 +0000)]
Use the preferred order of 'static const' instead of 'const static'.
This is the common style in both Linux as well as in LinuxBIOS.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2922 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAs started in
Torsten Duwe [Wed, 31 Oct 2007 00:49:38 +0000 (00:49 +0000)]
As started in
http://www.linuxbios.org/pipermail/linuxbios/2007-October/025385.html ,
but change all apparantly related values that differ on my board with
legacy BIOS.

This makes both PCI cards appear, as well as the firewire device
TSB43AB23.
* PCI 01:07.0 appears fully functional
* PCI 01:08.0 (closer to the board edge) appears, but no interrupts
* PCI 01:0a.0 (FireWire) untested

Since none of these was even present without the patch I suggest to
apply it.

Signed-off-by: Torsten Duwe <duwe@lst.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Tested-by: Harald Gutmann <harald.gutmann@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2921 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd initial support for the Compaq Deskpro EN SFF P600.
Uwe Hermann [Wed, 31 Oct 2007 00:26:08 +0000 (00:26 +0000)]
Add initial support for the Compaq Deskpro EN SFF P600.

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@2920 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd initial support for the Biostar M6TBA.
Uwe Hermann [Wed, 31 Oct 2007 00:25:06 +0000 (00:25 +0000)]
Add initial support for the Biostar M6TBA.

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@2919 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd initial support for the AZZA PT-6IBD.
Uwe Hermann [Wed, 31 Oct 2007 00:23:57 +0000 (00:23 +0000)]
Add initial support for the AZZA PT-6IBD.

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@2918 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd initial support for the A-Trend ATC-6220.
Uwe Hermann [Wed, 31 Oct 2007 00:22:32 +0000 (00:22 +0000)]
Add initial support for the A-Trend ATC-6220.

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@2917 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd initial support for the GIGABYTE GA-6BXC.
Uwe Hermann [Wed, 31 Oct 2007 00:07:31 +0000 (00:07 +0000)]
Add initial support for the GIGABYTE GA-6BXC.

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@2916 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd initial support for the ASUS P3B-F.
Uwe Hermann [Wed, 31 Oct 2007 00:00:57 +0000 (00:00 +0000)]
Add initial support for the ASUS P3B-F.

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@2915 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd initial support for the ASUS P2B-F.
Uwe Hermann [Tue, 30 Oct 2007 23:59:47 +0000 (23:59 +0000)]
Add initial support for the ASUS P2B-F.

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@2914 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoVarious smaller fixes to make the ASUS P2B match the format
Uwe Hermann [Tue, 30 Oct 2007 23:57:59 +0000 (23:57 +0000)]
Various smaller fixes to make the ASUS P2B match the format
of all the other boards in this patch series.

Add missing PIRQ table to make most devices work.
Enable VGA support. Add flashrom flashing protection code.
Make CPU init actually work (result: massive speed-up).

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@2913 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoVarious fixes and improvements of the 82801xx code.
Joseph Smith [Tue, 30 Oct 2007 21:55:11 +0000 (21:55 +0000)]
Various fixes and improvements of the 82801xx code.

Signed-off-by: Joseph Smith <joe@smittys.pointclark.net>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2912 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years ago[LINUXBIOS] Add the CPU_OPT flag to facilitate passing flags into the build
Jordan Crouse [Tue, 30 Oct 2007 17:53:53 +0000 (17:53 +0000)]
[LINUXBIOS] Add the CPU_OPT flag to facilitate passing flags into the build

buildROM passes build flags through the CPU_OPT environment variable -
especially -fno-stack-protector for those of us lucky enough to have
Debian/Ubuntu.  This adds  to the cache_as_ram_auto.inc target
for the GA-2761GXDK so that the resulting cpu0.S is clean.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2911 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoSmall rename to make abuild happy (trivial).
Uwe Hermann [Tue, 30 Oct 2007 17:21:45 +0000 (17:21 +0000)]
Small rename to make abuild happy (trivial).

This is not yet enough to actually successfully build the board, but
now abuild at least _attempts_ to build it.

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@2910 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoDrop empty directories (trivial).
Uwe Hermann [Tue, 30 Oct 2007 17:06:28 +0000 (17:06 +0000)]
Drop empty directories (trivial).

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@2909 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoRename the SiS761GX/SiS966 board to the correct name, GIGABYTE GA-2761GXDK.
Uwe Hermann [Tue, 30 Oct 2007 15:58:59 +0000 (15:58 +0000)]
Rename the SiS761GX/SiS966 board to the correct name, GIGABYTE GA-2761GXDK.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2908 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd support for the VIA VT8237R southbridge.
Rudolf Marek [Tue, 30 Oct 2007 03:09:39 +0000 (03:09 +0000)]
Add support for the VIA VT8237R southbridge.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: <corey.osgood@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2907 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agomove target directory to have the same name as the directory in the
Stefan Reinauer [Tue, 30 Oct 2007 02:24:49 +0000 (02:24 +0000)]
move target directory to have the same name as the directory in the
mainboard/ path. Also add a Config.lb for abuild. It's required for the
three images variant as abuild doesnt detect this automatically.
Trivial patch - it does not even fix the build yet. Patches 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@2906 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agofix the readwrite/readonly clashes for the pci_driver structs in the sis
Stefan Reinauer [Tue, 30 Oct 2007 02:17:49 +0000 (02:17 +0000)]
fix the readwrite/readonly clashes for the pci_driver structs in the sis
code. This is trivial, I did it for the other components before.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2905 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoK8 resource dump utility from Rudolf Marek
Rudolf Marek [Tue, 30 Oct 2007 01:12:20 +0000 (01:12 +0000)]
K8 resource dump utility from Rudolf Marek

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2904 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd support for Intel 440MX systems.
Uwe Hermann [Tue, 30 Oct 2007 00:56:50 +0000 (00:56 +0000)]
Add support for Intel 440MX systems.
Add support for the Fujitsu MBM29F400TC flash part.

Detection and reading works, writing is not tested.

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@2903 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThanks to the great efforts of Morgan Tsai of SiS we support the SiS966
Morgan Tsai [Mon, 29 Oct 2007 21:00:14 +0000 (21:00 +0000)]
Thanks to the great efforts of Morgan Tsai of SiS we support the SiS966
southbridge now:

From: Morgan Tsai <my_tsai@sis.com>

It supports SiS761GX / SiS966 chipset, only for AMD K8 platform so far.
Due to integrated VGA sharing system memory, some code in southbridge
folder have to init northbridge.

Copyright (C) 2007 Morgan Tsai <my_tsai@sis.com>
Copyright (C) 2007 Silicon Integrated Systems Corp. (SiS)

Change Log:

Newly support GIGABYTE GA-2761GXDK
CPU type: AMD AM2 socket
Northbridge: SiS 761GX
Southbridge: SiS 966
SuperIO: ITE8716F

Signed-off-by: Morgan Tsai <my_tsai@sis.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2902 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoMove ARRAY_SIZE to stdlib.h to make it available to all code (trivial).
Uwe Hermann [Sat, 27 Oct 2007 20:05:21 +0000 (20:05 +0000)]
Move ARRAY_SIZE to stdlib.h to make it available to all code (trivial).

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@2901 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoDrop duplicated and unneeded #defines from some northbridges (trivial).
Uwe Hermann [Sat, 27 Oct 2007 19:45:49 +0000 (19:45 +0000)]
Drop duplicated and unneeded #defines from some northbridges (trivial).
This is generic PCI stuff, not nothbridge-specific in any way.
The respective #defines are already present in src/include/device/pci_def.h.

Abuild-tested, so shouldn't break anything.

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@2900 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1