coreboot.git
16 years agoThis patch adds a new record type for lbtable to provide information
Patrick Georgi [Fri, 25 Jan 2008 18:28:18 +0000 (18:28 +0000)]
This patch adds a new record type for lbtable to provide information
about a serial port. If a port is defined in the board configuration,
add it to lbtable.

Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3076 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoVarious small fixes and updates for lxbios (trivial).
Uwe Hermann [Fri, 25 Jan 2008 15:08:37 +0000 (15:08 +0000)]
Various small fixes and updates for lxbios (trivial).

 - Update website URL to http://coreboot.org/Lxbios.

 - Use svn:keywords property to actually expand the $Id$ entries.

 - Update COPYING to the latest version from
   http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

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

16 years agoAdd ids and chip entry for Spansion S25FL016A to flashrom, tested,
Peter Stuge [Fri, 25 Jan 2008 01:52:45 +0000 (01:52 +0000)]
Add ids and chip entry for Spansion S25FL016A to flashrom, tested,
working.

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

16 years agoUse "--build-id=none" as linker flags if build-id is supported.
Marc Karasek [Tue, 22 Jan 2008 16:09:36 +0000 (16:09 +0000)]
Use "--build-id=none" as linker flags if build-id is supported.
That fixes a compilation failure.

Signed-off-by: Marc Karasek <marc.karasek@sun.com>
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Joseph Smith <joe@smittys.pointclark.net>
Acked-by: Myles Watson <myles@pel.cs.byu.edu>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3073 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoHere is just a little and simple patch to get the MX25L3205D working.
Harald Gutmann [Tue, 22 Jan 2008 16:03:19 +0000 (16:03 +0000)]
Here is just a little and simple patch to get the MX25L3205D working.
I've tested and verified the chip myself, and it seems to work
everything like supposted, since Carl-Daniel has patched flashrom to
use the read funktion on verifying.

"benchvice flashrom # ./flashrom -m gigabyte:m57sli -v test.4mb
Calibrating delay loop... OK.
No coreboot table found.
Found chipset "NVIDIA MCP55", enabling flash write... OK.
Found board "GIGABYTE GA-M57SLI-S4": enabling flash write...
Serial flash segment 0xfffe0000-0xffffffff enabled
Serial flash segment 0x000e0000-0x000fffff enabled
Serial flash segment 0xffee0000-0xffefffff disabled
Serial flash segment 0xfff80000-0xfffeffff enabled
LPC write to serial flash enabled
serial flash pin 29
OK.
MX25L3205 found at physical address 0xffc00000.
Flash part is MX25L3205 (4096 KB).
Flash image seems to be a legacy BIOS. Disabling checks.
Verifying flash... VERIFIED.
benchvice flashrom # ls -l test.4mb
-rw-r--r-- 1 root root 4194304 22. Jan 16:27 test.4mb

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

16 years agoFlashrom did not use the read function for verifying, it used direct memory
Carl-Daniel Hailfinger [Tue, 22 Jan 2008 15:19:01 +0000 (15:19 +0000)]
Flashrom did not use the read function for verifying, it used direct memory
access instead. That fails if the flash chip is not mapped completely.
If the read function is set in struct flashchip, use it for verification
as well.

This fixes verification of all SPI flash chips >512 kByte behind an
IT8716F flash translation chip.

"MX25L8005 found at physical address 0xfff00000.
Flash part is MX25L8005 (1024 KB).
Flash image seems to be a legacy BIOS. Disabling checks.
Verifying flash... VERIFIED."

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

16 years agoMake sure we delay writing the next byte long enough in SPI byte
Carl-Daniel Hailfinger [Tue, 22 Jan 2008 14:37:31 +0000 (14:37 +0000)]
Make sure we delay writing the next byte long enough in SPI byte
programming.
Minor formatting changes.

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

16 years agoOmitting the wait for SPI ready when there is no data to be read, e.g.
Ronald Hoogenboom [Mon, 21 Jan 2008 23:55:08 +0000 (23:55 +0000)]
Omitting the wait for SPI ready when there is no data to be read, e.g.
readcnt==0 saves 10 seconds with the unconditional 10us delay, reducing
programming time for SST25VF016B to 40-45 secs.

Signed-off-by: Ronald Hoogenboom <hoogenboom30@zonnet.nl>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3068 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThis patch adds version information to flashrom. Because 'v' and 'V'
Bernhard Walle [Mon, 21 Jan 2008 15:24:22 +0000 (15:24 +0000)]
This patch adds version information to flashrom. Because 'v' and 'V'
are already in use, the patch uses 'R' (for release) and, of course,
'--version'.

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

16 years agolast try i hope. Building with a payload changes the result of the rom
Stefan Reinauer [Sun, 20 Jan 2008 01:59:43 +0000 (01:59 +0000)]
last try i hope. Building with a payload changes the result of the rom
image. Even if the rom image size is not changed, it can make the linking fail.
It's almost a heisen-bug, only there if you don't watch.

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

16 years agogive it 2k more space for abuild. let's look into this anyways, but get rid of
Stefan Reinauer [Sun, 20 Jan 2008 00:24:23 +0000 (00:24 +0000)]
give it 2k more space for abuild. let's look into this anyways, but get rid of
the impression that the cheetah on fam10 is broken just because we're using a
too new compiler for abuild. (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@3065 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd Bingxun Shi <bingxunshi@gmail.com> to the list of contributors (trivial).
Uwe Hermann [Sat, 19 Jan 2008 09:43:48 +0000 (09:43 +0000)]
Add Bingxun Shi <bingxunshi@gmail.com> to the list of contributors (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@3064 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoSmall superiotool fix to detect more Winbond W83627EHF chips. The
Uwe Hermann [Sat, 19 Jan 2008 09:40:17 +0000 (09:40 +0000)]
Small superiotool fix to detect more Winbond W83627EHF chips. The
patch is tested on actual hardware.

As per datasheet the ID should be 0x886? for those chips.
Not mentioned in the datasheet, but sensors-detect says
0x8853 is also possible. Also, the ASUS A8V-E Deluxe
(W83627EHF) has an ID of 0x8854 (verified on actual hardware).

So assume all 0x88?? IDs to mean W83627EHF/EF/EHG/EG.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3063 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThis patch is for winbond w83627DHG superio support in superiotool.
Bingxun Shi [Sat, 19 Jan 2008 00:32:07 +0000 (00:32 +0000)]
This patch is for winbond w83627DHG superio support in superiotool.
I have test that on my board, it works ;)

Signed-off-by: Bingxun Shi <bingxunshi@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3062 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoSupport SPI flash chips bigger than 512 kByte sitting behind IT8716F
Ronald Hoogenboom [Sat, 19 Jan 2008 00:04:46 +0000 (00:04 +0000)]
Support SPI flash chips bigger than 512 kByte sitting behind IT8716F
Super I/O performing LPC-to-SPI flash translation.

Signed-off-by: Ronald Hoogenboom <hoogenboom30@zonnet.nl>
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>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3061 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoDocument the --list-supported option. Various small fixes (trivial).
Uwe Hermann [Fri, 18 Jan 2008 18:04:28 +0000 (18:04 +0000)]
Document the --list-supported option. Various 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@3060 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoMinor documentation improvements/fixes in the README and manpage (trivial).
Uwe Hermann [Fri, 18 Jan 2008 17:48:51 +0000 (17:48 +0000)]
Minor documentation improvements/fixes in the README and manpage (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@3059 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agorename linuxbios_* files in utils repository.
Stefan Reinauer [Fri, 18 Jan 2008 16:17:44 +0000 (16:17 +0000)]
rename linuxbios_* files in utils repository.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3058 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agorename linuxbios_* files, too.
Stefan Reinauer [Fri, 18 Jan 2008 16:16:45 +0000 (16:16 +0000)]
rename linuxbios_* files, too.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3057 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoutil/ renames
Stefan Reinauer [Fri, 18 Jan 2008 15:34:24 +0000 (15:34 +0000)]
util/ renames
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3056 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agorename linuxbios -> coreboot
Stefan Reinauer [Fri, 18 Jan 2008 15:33:49 +0000 (15:33 +0000)]
rename linuxbios -> coreboot
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3055 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agofor some reasons the externals did not get committed.
Stefan Reinauer [Fri, 18 Jan 2008 15:33:10 +0000 (15:33 +0000)]
for some reasons the externals did not get committed.

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

16 years agoRename almost all occurences of LinuxBIOS to coreboot.
Stefan Reinauer [Fri, 18 Jan 2008 15:08:58 +0000 (15:08 +0000)]
Rename almost all occurences of LinuxBIOS to coreboot.
Due to the automatic nature of this update, I am self-acking. It worked in
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@3053 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoPlease bear with me - another rename checkin. This qualifies as trivial, no
Stefan Reinauer [Fri, 18 Jan 2008 10:35:56 +0000 (10:35 +0000)]
Please bear with me - another rename checkin. This qualifies as trivial, no
code is changed.

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

16 years agorename linuxbios to coreboot
Stefan Reinauer [Wed, 16 Jan 2008 16:25:13 +0000 (16:25 +0000)]
rename linuxbios to coreboot

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

16 years agoAdd new --list-supported switch for printing the list of Super I/Os
Robinson P. Tryon [Tue, 15 Jan 2008 22:30:55 +0000 (22:30 +0000)]
Add new --list-supported switch for printing the list of Super I/Os
supported by superiotool (closes #91).

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

16 years agoFix the documentation of GPIO setup, tell W83627EHF to use external
Rudolf Marek [Sat, 12 Jan 2008 22:29:17 +0000 (22:29 +0000)]
Fix the documentation of GPIO setup, tell W83627EHF to use external
suspend clock (undocumented in datasheet, documented in 'W83627HG-AW').
Introduce sio_init function for all this.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3049 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoVia C3 datasheets don't make any mention of microcode updates, and the
Corey Osgood [Sat, 12 Jan 2008 21:44:57 +0000 (21:44 +0000)]
Via C3 datasheets don't make any mention of microcode updates, and the
C7 bios programmer's guide explicitly states they're not necessary, and
leaves it at that. Even if they are possible and exist, we don't have
any info on it, nor any updates, so drop these unneeded references.

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

16 years agoFix these to use a more standard relative path for payload.
Ronald G. Minnich [Fri, 11 Jan 2008 22:37:27 +0000 (22:37 +0000)]
Fix these to use a more standard relative path for payload.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3047 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd the ability to extend CFLAGS as needed for several new distros
Ronald G. Minnich [Fri, 11 Jan 2008 18:23:47 +0000 (18:23 +0000)]
Add the ability to extend CFLAGS as needed for several new distros
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Peter Stuge <peter@stuge.se>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3046 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThis patch removes '\n' from the help output since this looks a bit strange.
Bernhard Walle [Fri, 11 Jan 2008 00:32:07 +0000 (00:32 +0000)]
This patch removes '\n' from the help output since this looks a bit strange.
After the patch [...] The line length is still below 80 characters.

Signed-off-by: Bernhard Walle <bernhard.walle@gmx.de>
Acked-by: Torsten Duwe <duwe@lst.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3045 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd a workaround for a bug in some binutils version which strictly
Carl-Daniel Hailfinger [Thu, 10 Jan 2008 17:59:25 +0000 (17:59 +0000)]
Add a workaround for a bug in some binutils version which strictly
interpret whitespace as macro argument delimiter. Since the code is
preprocessed by gcc and the tokenizer may insert whitespace, that can
fail. http://sourceware.org/bugzilla/show_bug.cgi?id=669

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3044 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThis patch introduces 4k CAR size granularity for the AMD x86 CAR code.
Carl-Daniel Hailfinger [Thu, 10 Jan 2008 17:48:25 +0000 (17:48 +0000)]
This patch introduces 4k CAR size granularity for the AMD x86 CAR code.
For the old supported CAR sizes, the newly generated code is
equivalent, so it should be a no-brainer.

Benefits:
* a nice code size reduction
* less #ifdef clutter for Family 10h
* paranoid checks for CAR size
* clear abstractions

This has been tested by Marc Jones and Jordan Crouse.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Marc Jones <marc.jones@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3043 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoEnable MX25L8005 support in flashrom. The #defines were already there.
Harald Gutmann [Thu, 10 Jan 2008 13:27:22 +0000 (13:27 +0000)]
Enable MX25L8005 support in flashrom. The #defines were already there.

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

16 years agoUse macros to improve readability of the device-to-pin IRQ assignments
Carl-Daniel Hailfinger [Wed, 9 Jan 2008 11:37:58 +0000 (11:37 +0000)]
Use macros to improve readability of the device-to-pin IRQ assignments
in GA-2761GXDK mptables.c.
Thanks to Torsten Duwe for initial code.

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

16 years agoFix compilation of Tyan S2735 which was broken by accident in r3038.
Carl-Daniel Hailfinger [Tue, 8 Jan 2008 19:14:16 +0000 (19:14 +0000)]
Fix compilation of Tyan S2735 which was broken by accident in r3038.

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>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3040 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoRemove some DOS line endings accidentially introduced in r3014.
Carl-Daniel Hailfinger [Tue, 8 Jan 2008 17:28:35 +0000 (17:28 +0000)]
Remove some DOS line endings accidentially introduced in r3014.
No code lines affected, so svn blame will not be messed up.

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>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3039 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThis patch is an attempt at introducing 4k CAR size granularity for the
Carl-Daniel Hailfinger [Tue, 8 Jan 2008 17:06:38 +0000 (17:06 +0000)]
This patch is an attempt at introducing 4k CAR size granularity for the
generic x86 CAR code. For the old supported CAR sizes, the newly
generated code is equivalent, so it should be a no-brainer.

Add a copyright header to the code, the header is derived from the one
found in the same piece of code in v3.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Marc Jones <marc.jones@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3038 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoUbuntu's gcc doesn't write "install:" in german locales.
Patrick Georgi [Tue, 8 Jan 2008 10:28:06 +0000 (10:28 +0000)]
Ubuntu's gcc doesn't write "install:" in german locales.
Normalize used locale to "C" before parsing output.

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

16 years agoAdd support for the SST25VF040B 4 Mbit SPI flash chip.
Carl-Daniel Hailfinger [Mon, 7 Jan 2008 13:48:51 +0000 (13:48 +0000)]
Add support for the SST25VF040B 4 Mbit SPI flash chip.
Straight from the data sheet, not tested.

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

16 years agoImprove readability and remove redundancy by wrapping
Torsten Duwe [Mon, 7 Jan 2008 11:13:16 +0000 (11:13 +0000)]
Improve readability and remove redundancy by wrapping
similar smp_write_intsrc calls in preprocessor macros.
Also add some comments about the actual devices the INTs
belong to.

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

16 years agoSince a VGA console and the need to run any option ROMs are
Torsten Duwe [Sun, 6 Jan 2008 01:10:54 +0000 (01:10 +0000)]
Since a VGA console and the need to run any option ROMs are
rather independent, lift the implicit (broken) assumption that
CONSOLE_VGA would also run the ROMs, and transfer it to a new
config option VGA_ROM_RUN.

This change is minimally intrusive, because all board configs
that previously assumed CONSOLE_VGA would also run the ROMs
didn't compile, they had to also specify PCI_ROM_RUN.

Based on patches by Ron Minnich (fix the compile) and Luc Verhaegen
(separate ROM_RUN from VGA console).

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

16 years agoAdd board enable for the gigabyte ga_2761gxdk board
Ronald G. Minnich [Fri, 4 Jan 2008 17:22:44 +0000 (17:22 +0000)]
Add board enable for the gigabyte ga_2761gxdk board
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3033 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoPrint at least the vendor for SPI flash chips if the exact chip ID is
Carl-Daniel Hailfinger [Fri, 4 Jan 2008 16:22:09 +0000 (16:22 +0000)]
Print at least the vendor for SPI flash chips if the exact chip ID is
unknown.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3032 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoUnfortunately, EN29F002T, EN29F002AT, EN29F002ANT, EN29F002NT all have
Carl-Daniel Hailfinger [Mon, 31 Dec 2007 14:05:08 +0000 (14:05 +0000)]
Unfortunately, EN29F002T, EN29F002AT, EN29F002ANT, EN29F002NT all have
exactly the same ID. Improve model number printing.

Add EN29F002(A)(N)B support while I'm at it.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Markus Boas <bios@ryven.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3031 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd continuation ID support to jedec.c
Carl-Daniel Hailfinger [Mon, 31 Dec 2007 01:49:00 +0000 (01:49 +0000)]
Add continuation ID support to jedec.c
The continuation ID code does not go further than checking for IDs of
the type 0x7fXX, but does this for vendor and product ID. The current
published JEDEC spec has a list where the largest vendor ID is 7 bytes
long, but all leading bytes are 0x7f. The list will grow in the future,
and using a 64bit variable will not be enough anymore.
Besides that, it seems that the location of the ID byte after the first
continuation ID byte is very vendor specific, so we may have to revisit
that code some time in the future.

(Suggestion for a new encoding:
Use a two-byte data type for the ID, the lower byte contains the only
non-0x7f byte, the upper byte contains the number of 0x7f bytes used as
prefix, which is the bank number minus 1 the vendor ID appears in.)

Add support for EON EN29F002AT.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3030 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThis fixes a few vendor IDs to conform with JEDEC publication 106W
Carl-Daniel Hailfinger [Mon, 31 Dec 2007 01:18:26 +0000 (01:18 +0000)]
This fixes a few vendor IDs to conform with JEDEC publication 106W
(JEP106W), adds some device IDs and provides information about
non-conforming IDs.
The EON change is left to the patch adding EON chips.

This patch should have no effect on code generation.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3029 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThe following mainboards had a file named microcode_updates.c in their
Carl-Daniel Hailfinger [Sun, 30 Dec 2007 11:59:10 +0000 (11:59 +0000)]
The following mainboards had a file named microcode_updates.c in their
mainboard directories, but the code was not referenced anywhere.
intel/jarrell
dell/s1850
supermicro/x6dhr_ig2
supermicro/x6dhr_ig
supermicro/x6dhe_g2
supermicro/x6dhe_g
Besides that, the contents of these files were either duplicates of
src/cpu/intel/model_f3x/microcode_M1DF340E.h or
src/cpu/intel/model_f3x/microcode_M1DF3413.h.

svn remove the following files:
src/mainboard/supermicro/x6dhe_g/microcode_updates.c
src/mainboard/supermicro/x6dhe_g2/microcode_updates.c
src/mainboard/supermicro/x6dhr_ig/microcode_updates.c
src/mainboard/supermicro/x6dhr_ig2/microcode_updates.c
src/mainboard/dell/s1850/microcode_updates.c
src/mainboard/intel/jarrell/microcode_updates.c

Abuild tested, as expected no failures.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3028 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAll SPI chips mentioned in flashchips.c had their sector size listed as
Carl-Daniel Hailfinger [Sat, 29 Dec 2007 11:05:59 +0000 (11:05 +0000)]
All SPI chips mentioned in flashchips.c had their sector size listed as
page size. Fix that. Page size is uniform 256 bytes for SPI.

A sector/block size field in struct flashchip would be nice, though.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3027 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoPrint the chip status register for all SPI chips on probe if verbose
Carl-Daniel Hailfinger [Sat, 29 Dec 2007 10:15:58 +0000 (10:15 +0000)]
Print the chip status register for all SPI chips on probe if verbose
output is specified.
Pretty-print the chip status register (including block lock information)
for ST M25P family and Macronix MX25L family chips.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3026 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd 25VF016B support to flashrom. Untested, but verified against the
Carl-Daniel Hailfinger [Sat, 29 Dec 2007 10:14:38 +0000 (10:14 +0000)]
Add 25VF016B support to flashrom. Untested, but verified against the
data sheet.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3025 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd Intel 3100 integrated northbridge/southbridge/superio PCI IDs.
Ed Swierk [Fri, 28 Dec 2007 00:23:29 +0000 (00:23 +0000)]
Add Intel 3100 integrated northbridge/southbridge/superio PCI IDs.

Signed-off-by: Ed Swierk <eswierk@arastra.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3024 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd an interrupt entry for the onboard firewire controller,
Torsten Duwe [Fri, 21 Dec 2007 17:21:03 +0000 (17:21 +0000)]
Add an interrupt entry for the onboard firewire controller,
Bus 1, device 10 (function 0 only), routed to IO-APIC pin 18
(verified on an v1.0 board).

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

16 years agoChange default payload to /tmp/filo.elf (trivial).
Uwe Hermann [Fri, 21 Dec 2007 16:38:21 +0000 (16:38 +0000)]
Change default payload to /tmp/filo.elf (trivial).

It's easier to tell users "copy your payload to /tmp/filo.elf" than have
them guess paths or modify Config.lb files etc.

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

16 years agoMore abuild fixes, this should be the last (trivial)
Corey Osgood [Wed, 19 Dec 2007 19:30:36 +0000 (19:30 +0000)]
More abuild fixes, this should be the last (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@3021 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoFix for newer iasl versions (trivial)
Corey Osgood [Wed, 19 Dec 2007 18:29:59 +0000 (18:29 +0000)]
Fix for newer iasl versions (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@3020 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agotrivial fix for abuild.
Stefan Reinauer [Wed, 19 Dec 2007 17:59:50 +0000 (17:59 +0000)]
trivial fix for 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@3019 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoSmall fix to make the abuild happy, add ROM_SIZE to target/*/Config.lb,
Corey Osgood [Wed, 19 Dec 2007 08:07:37 +0000 (08:07 +0000)]
Small fix to make the abuild happy, add ROM_SIZE to target/*/Config.lb,
using the default from src/mainboard/*/Options.lb (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@3018 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoChanged the stop_this_cpu() to just hlt.
Marc Jones [Wed, 19 Dec 2007 01:52:11 +0000 (01:52 +0000)]
Changed the stop_this_cpu() to just hlt.
Removed local APIC INIT (don't worry the APIC and AP are still initialized).

The local APIC INIT seemed to be the incorrect thing to do to stop an AP.
The Intel Multiprocessor specification indicated that a vector should be set
and a START should happen following an INIT. Then AP will execute the
instructions pointed to by the vector. There is no vector or start in
stop_this_cpu(). This seems to put the AP in an in-between state. In the case
of Barcelona the AP's MSRs and PCI register are not accessible by the hardware
debugger.

The better solution seems to be to just put the AP in a hlt and allow the AP
to go into C1. Then APIC managing software running on the BSP can program the
AP as needed.

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

16 years agoInitial AMD Serengeti_Cheetah_FAM10 platform for Barcelona support.
Marc Jones [Wed, 19 Dec 2007 01:49:44 +0000 (01:49 +0000)]
Initial AMD Serengeti_Cheetah_FAM10 platform for Barcelona support.

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

16 years agoAdditional early AMD8111 southbridge support for Barcelona platforms.
Marc Jones [Wed, 19 Dec 2007 01:36:46 +0000 (01:36 +0000)]
Additional early AMD8111 southbridge support for Barcelona platforms.
Check that the SMBus controller is found and stop on an error.
Clean up and add additional path through the 8111 reset functions.

Signed-off-by: Marc Jones <marc.jones@amd.com>
Reviewed-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Myles Watson <myles@pel.cs.byu.edu>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3015 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoInitial AMD Barcelona support for rev Bx.
Marc Jones [Wed, 19 Dec 2007 01:32:08 +0000 (01:32 +0000)]
Initial AMD Barcelona support for rev Bx.
These are the core files for HyperTransport, DDR2 Memory, and multi-core initialization.

Signed-off-by: Marc Jones <marc.jones@amd.com>
Reviewed-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Myles Watson <myles@pel.cs.byu.edu>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3014 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoWhitespace and other code cleanup in peperation for AMD Barcelona support.
Marc Jones [Wed, 19 Dec 2007 00:47:09 +0000 (00:47 +0000)]
Whitespace and other code cleanup in peperation for AMD Barcelona support.

Signed-off-by: Marc Jones <marc.jones@amd.com>
Reviewed-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Myles Watson <myles@pel.cs.byu.edu>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3013 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd support for ST M25P05-A, M25P10-A, M25P20, M25P40, M25P16, M25P32,
Carl-Daniel Hailfinger [Mon, 17 Dec 2007 22:22:40 +0000 (22:22 +0000)]
Add support for ST M25P05-A, M25P10-A, M25P20, M25P40, M25P16, M25P32,
M25P64, M25P128 to flashrom. ST M25P80 support is already there.
Not tested, but conforming to data sheets and double checked.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3012 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd dump support for NSC PC87317.
Ulf Jordan [Mon, 17 Dec 2007 22:10:00 +0000 (22:10 +0000)]
Add dump support for NSC PC87317.

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

16 years agoEnable IDE legacy port access for all 440BX based boards per default, as
Uwe Hermann [Mon, 17 Dec 2007 21:34:53 +0000 (21:34 +0000)]
Enable IDE legacy port access for all 440BX based boards per default, as
this is needed (at the very least) to make FILO work on these boards.

Disable UDMA/33 per default, which is slower but the safe choice, as we
don't know which IDE devices a user has attached, and some don't support
UDMA/33 very well or at all.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3010 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoTo make it easier to add new SPI chips to flashchips.c, rename functions
Carl-Daniel Hailfinger [Mon, 17 Dec 2007 14:33:32 +0000 (14:33 +0000)]
To make it easier to add new SPI chips to flashchips.c, rename functions
with multiple possible opcodes from linear numbering at the end (_1, _2)
to include the opcode at the end (_60, _c7). That way, you only have to
take a short look at the data sheet and choose the right function by
appending the opcode listed in the data sheet.
No functional changes.

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

16 years agoAdd support for ST M25P80 chips to flashrom. Detection was tested.
Carl-Daniel Hailfinger [Sun, 16 Dec 2007 21:15:27 +0000 (21:15 +0000)]
Add support for ST M25P80 chips to flashrom. Detection was tested.
Print status register before erase to help debugging block locks.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3008 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd dump support for SMSC LPC47M192.
Ulf Jordan [Fri, 14 Dec 2007 20:00:58 +0000 (20:00 +0000)]
Add dump support for SMSC LPC47M192.

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

16 years agoAdd dump support for NSC PC97317.
Ulf Jordan [Fri, 14 Dec 2007 00:04:16 +0000 (00:04 +0000)]
Add dump support for NSC PC97317.

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

16 years agoAdd detection and dump support for NSC PC97307.
Ulf Jordan [Thu, 13 Dec 2007 23:56:16 +0000 (23:56 +0000)]
Add detection and dump support for NSC PC97307.

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

16 years agoAdd dump support for NSC PC8741x.
Ulf Jordan [Thu, 13 Dec 2007 23:41:45 +0000 (23:41 +0000)]
Add dump support for NSC PC8741x.

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

16 years agoAdd support for more atmel chips:
Frederico Silva [Mon, 10 Dec 2007 16:57:59 +0000 (16:57 +0000)]
Add support for more atmel chips:
AT49F002
AT49F002N
AT49F002T
AT49F002NT

Only tested the read function on AT49F002T.
datasheet @ http://www.atmel.com/atmel/acrobat/doc1017.pdf

Signed-off-by: Frederico Silva <frederico.silva@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3003 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThis adds the same line (uses CONFIG_PRECOMPRESSED_PAYLOAD) to every
Myles Watson [Sun, 9 Dec 2007 17:18:29 +0000 (17:18 +0000)]
This adds the same line (uses CONFIG_PRECOMPRESSED_PAYLOAD) to every
Options.lb file that already had a "uses CONFIG_COMPRESSED_PAYLOAD_LZMA"
line in it.

I figure that only adding it to the files that already have support
for LZMA payloads makes sure I don't break anything.

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

16 years agoAdd detection and dump support for NSC PC87309.
Ulf Jordan [Sat, 8 Dec 2007 00:17:19 +0000 (00:17 +0000)]
Add detection and dump support for NSC PC87309.

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

16 years agoAdd/fix some LDN descriptions (trivial).
Uwe Hermann [Fri, 7 Dec 2007 23:55:20 +0000 (23:55 +0000)]
Add/fix some LDN descriptions (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@3000 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

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