coreboot.git
16 years agoRename probe_superio.c to superiotool.c.
Uwe Hermann [Sat, 1 Sep 2007 20:20:41 +0000 (20:20 +0000)]
Rename probe_superio.c to superiotool.c.
Flesh out Makefile with all the usual stuff, e.g. install targets 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@2759 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoMove probe_superio into the global util/ directory.
Uwe Hermann [Sat, 1 Sep 2007 19:44:36 +0000 (19:44 +0000)]
Move probe_superio into the global util/ directory.
Rename it to superiotool while we're at 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@2758 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd support for the ITE IT8708F.
Uwe Hermann [Sat, 1 Sep 2007 19:42:42 +0000 (19:42 +0000)]
Add support for the ITE IT8708F.

Here's a dump from my test system which has an IT8708F:

No SuperI/O chip found at 0x002e
probing 0x002e, failed (0x87), data returns 0x87
SuperI/O found at 0x2e: id=0x8708, chipver=0x0
ITE IT8708
idx 07 20 21 22 23 24 25 26 27 28 29 2a 2e 2f
val 02 87 08 00 00 00 00 00 03 01 01 00 00 00
def NA 87 08 00 00 NA 3f 00 ff ff ff ff 00 00
switching to LDN 0x0
idx 30 60 61 70 74 f0 f1
val 01 03 f0 06 02 00 80
def 00 03 f0 06 02 00 00
switching to LDN 0x1
idx 30 60 61 70 f0
val 01 03 f8 04 00
def 00 03 f8 04 00
switching to LDN 0x2
idx 30 60 61 70 f0 f1 f2 f3
val 01 02 f8 03 00 50 01 7f
def 00 02 f8 03 00 50 00 7f
switching to LDN 0x3
idx 30 60 61 62 63 64 65 70 74 f0
val 01 03 78 07 78 00 80 07 03 0b
def 00 03 78 07 78 00 80 07 03 03
switching to LDN 0x4
idx e0 e1 e2 e3 e4 e5 e6 e7 f0 f1 f2 f3 f4 f5 f6
val 80 61 00 00 00 00 00 00 80 00 30 00 80 00 de
def NA NA 00 00 00 00 00 00 00 00 00 00 00 NA NA
switching to LDN 0x5
idx 30 60 61 62 63 70 71 f0
val 01 00 60 00 64 01 02 0c
def 01 00 60 00 64 01 02 00
switching to LDN 0x6
idx 30 70 71 f0
val 01 0c 02 00
def 00 0c 02 00
switching to LDN 0x7
idx 70 b0 b1 b2 b3 b4 b5 b8 b9 ba bb bc bd c0 c1 c2 c3 c4 c5 c8 c9 ca cb cc cd d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 da db dc f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc
val 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 01 01 00 00 00 03 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff 7f 20 51 00 0e 00 00 00 00 00 00 00
def 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 NA NA NA NA NA NA 00 00 00 00 00 00 00 00 00 00 00 NA 00
switching to LDN 0x8
idx 30 60 61
val 00 02 01
def 00 02 01
switching to LDN 0x9
idx 30 60 61 70 f0
val 00 03 10 0b 06
def 00 03 10 0b 00
switching to LDN 0xa
idx 30 60 61 70 f0
val 00 03 00 0a 40
def 00 03 00 0a 00
No SuperI/O chip found at 0x004e
No SuperIO chip found at 0x004e
No SuperIO chip found at 0x004e

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

16 years agoFix typo for the ITE IT8712F (trivial).
Uwe Hermann [Fri, 31 Aug 2007 20:51:00 +0000 (20:51 +0000)]
Fix typo for the ITE IT8712F (trivial).

The default for LDN 5 (keyboard), index 0xF0 is not 0x00
but rather 0x08 as per datasheet.

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

16 years agoAdd support for the Athlon64 x2 5000+ CPU.
Torsten Duwe [Thu, 30 Aug 2007 10:29:15 +0000 (10:29 +0000)]
Add support for the Athlon64 x2 5000+ CPU.

A trivial one-liner for the CPU I happen to have. The sales docs said it's
a "G1 revision", but the Rev F code works just fine.

Signed-off-by: Torsten Duwe <duwe@lst.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2754 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd support for the Winbond W29EE011.
Markus Boas [Thu, 30 Aug 2007 10:17:50 +0000 (10:17 +0000)]
Add support for the Winbond W29EE011.

Signed-off-by: Markus Boas <ryven@ryven.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2753 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd support for the Winbond W29C040P.
Markus Boas [Thu, 30 Aug 2007 10:11:08 +0000 (10:11 +0000)]
Add support for the Winbond W29C040P.

Signed-off-by: Markus Boas <ryven@ryven.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2752 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoChange all flashrom license headers to use our standard format.
Uwe Hermann [Wed, 29 Aug 2007 17:52:32 +0000 (17:52 +0000)]
Change all flashrom license headers to use our standard format.
No changes in content of the files.

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

16 years agoThis patch makes ITE Super I/O probing/dumping a little bit more generic,
Carl-Daniel Hailfinger [Tue, 28 Aug 2007 10:43:57 +0000 (10:43 +0000)]
This patch makes ITE Super I/O probing/dumping a little bit more generic,
fixes minor coding style issues and prepares the table for supporting
more chips of the ITE IT87xx Super I/O family.

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

16 years agoThis patch rewrites probe_superio almost completely.
Carl-Daniel Hailfinger [Mon, 27 Aug 2007 07:28:28 +0000 (07:28 +0000)]
This patch rewrites probe_superio almost completely.
Common code sequences have been factored out, the code has been made
more generic, has better handling of corner cases and is actually much
shorter.

It also adds probing for almost all recent (since 1999) ITE Super I/O
chips to probe_superio. I did verify against all ITE datasheets
(including those not available any more) that the probing was
non-destructive.

For the ITE IT8712F, the complete configuration is dumped and as
comparison the default value from the data sheet is printed.
More information can be extracted easily, however this needs loads of
datasheet surfing.

This code has been tested extensively, dumping for other ITE chips will
follow as a separate patch.

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

16 years agoCosmetic fixes (trivial).
Uwe Hermann [Thu, 23 Aug 2007 16:08:21 +0000 (16:08 +0000)]
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@2748 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoDrop duplicated code (copies of plain JEDEC functions).
Uwe Hermann [Thu, 23 Aug 2007 15:20:38 +0000 (15:20 +0000)]
Drop duplicated code (copies of plain JEDEC functions).

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

16 years agoDrop a bunch of useless header files, merge them into flash.h.
Uwe Hermann [Thu, 23 Aug 2007 13:34:59 +0000 (13:34 +0000)]
Drop a bunch of useless header files, merge them into flash.h.

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

16 years agoMove code into *.c files, there's no reason to have it in header files.
Uwe Hermann [Thu, 23 Aug 2007 10:20:40 +0000 (10:20 +0000)]
Move code into *.c files, there's no reason to have it in header files.

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

16 years agoFix bug in probe_28sf040() causing flash corruption on SST49LF160C verify.
Ed Swierk [Mon, 13 Aug 2007 04:10:32 +0000 (04:10 +0000)]
Fix bug in probe_28sf040() causing flash corruption on SST49LF160C verify.

The first byte of the flash chip was read at the start of the function
and later written back to address 0 if the flash chip was not identified
as SST28SF040, which means most of the time. This write caused corruption
of flash contents when verifying a SST49LF160C part.

Signed-off-by: Ed Swierk <eswierk@arastra.com>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2744 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoflashrom: Add board enable for the EPoX EP-BX3.
Luc Verhaegen [Sat, 11 Aug 2007 16:59:11 +0000 (16:59 +0000)]
flashrom: Add board enable for the EPoX EP-BX3.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
Acked-by: Peter Stuge <peter@stuge.se>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2743 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoflashrom: Add missing supported flash chips to the README (trivial).
Uwe Hermann [Fri, 27 Jul 2007 03:32:45 +0000 (03:32 +0000)]
flashrom: Add missing supported flash chips to the README (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@2742 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThis patch adds support for the M50FLW040A, M50FLW040B, M50FLW080A,
Carl-Daniel Hailfinger [Wed, 25 Jul 2007 17:55:45 +0000 (17:55 +0000)]
This patch adds support for the M50FLW040A, M50FLW040B, M50FLW080A,
M50FLW080B, M50FW080, M50FW016, M50LPW116, M29W010B flash chips made
by ST to flashrom.

The patch is based on the data sheets of the chips and has not been
tested at all.

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

16 years agoThis patch adds support for ST M50FW040 and ST M29W040B to flashrom.
Carl-Daniel Hailfinger [Tue, 24 Jul 2007 18:18:05 +0000 (18:18 +0000)]
This patch adds support for ST M50FW040 and ST M29W040B to flashrom.
Only reading from the chips was tested; writing support is untested.

Thanks to Gürkan Sengün <gurkan@linuks.mine.nu> for testing!

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

16 years agoFix Agami Aruma target (the only one using the part)
Stefan Reinauer [Thu, 12 Jul 2007 20:07:54 +0000 (20:07 +0000)]
Fix Agami Aruma target (the only one using the part)

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

16 years agotrivial: clarify comment on ADM1026_DEVICE address
Peter Stuge [Thu, 12 Jul 2007 17:02:52 +0000 (17:02 +0000)]
trivial: clarify comment on ADM1026_DEVICE address

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2738 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoSigned-off-by: Stefan Reinauer <stepan@coresystems.de>
Stefan Reinauer [Thu, 12 Jul 2007 16:35:42 +0000 (16:35 +0000)]
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@2736 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agosome agami i2c merges
Stefan Reinauer [Thu, 12 Jul 2007 15:56:02 +0000 (15:56 +0000)]
some agami i2c merges

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

16 years ago[Arg! Forgot to 'svn add', sorry]
Uwe Hermann [Thu, 12 Jul 2007 13:13:56 +0000 (13:13 +0000)]
[Arg! Forgot to 'svn add', sorry]

Generic driver for pretty much all known Standard Microsystems Corporation
(SMSC) Super I/O chips.

Most of the SMSC Super I/O chips seem to be similar enough (for our
purposes) so that we can handle them with a unified driver.

So far only the ASUS A8000 has been tested on real hardware!

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

16 years agoGeneric driver for pretty much all known Standard Microsystems Corporation
Uwe Hermann [Thu, 12 Jul 2007 13:12:47 +0000 (13:12 +0000)]
Generic driver for pretty much all known Standard Microsystems Corporation
(SMSC) Super I/O chips.

Most of the SMSC Super I/O chips seem to be similar enough (for our
purposes) so that we can handle them with a unified driver.

So far only the ASUS A8000 has been tested on real hardware!

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

16 years agoFlashrom: Add support for Tyan Tomcat K7M.
Luc Verhaegen [Wed, 4 Jul 2007 17:51:49 +0000 (17:51 +0000)]
Flashrom: Add support for Tyan Tomcat K7M.

Same board enable as Asus A7V8-MX. Tested by Reinhard Max.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2732 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoArtec Group dbe61 mainboard support.
Marc Jones [Wed, 20 Jun 2007 23:45:44 +0000 (23:45 +0000)]
Artec Group dbe61 mainboard support.
Now uses CAR.
New code for SPD-less memory implementation.
Updated IRQ routing.

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

16 years agoVarious minor cosmetics and coding style fixes (trivial).
Uwe Hermann [Tue, 19 Jun 2007 22:47:11 +0000 (22:47 +0000)]
Various minor cosmetics and 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@2727 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThe GPIOs used for UART2 RX and TX were reversed.
Marc Jones [Tue, 19 Jun 2007 22:07:16 +0000 (22:07 +0000)]
The GPIOs used for UART2 RX and TX were reversed.

Signed-off-by: Marc Jones <marc.jones@amd.com>
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@2726 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThis patch fixes up a couple mistakes I made with the i82810 and mew-vw to make
Corey Osgood [Tue, 19 Jun 2007 07:33:39 +0000 (07:33 +0000)]
This patch fixes up a couple mistakes I made with the i82810 and mew-vw to make
the system boot to a command line.

This patch comments out the code to set up the vga framebuffer to allow
the system to boot, without this fix the system hangs during elfboot.

The only line that is absolutely necessary to change is the SMRAM setup,
however I've commented out all vga setup to make it very obvious to both
the kernel/payload and anyone looking at the code that vga isn't
currently working. This setup might also be better handled in
northbridge.c, if it doesn't need to be done before ram init, yet
another reason to comment it all. In the future, LinuxBIOS needs to be
told that the graphics memory area, 1mb or 512kb (at the user or
developer's option), is reserved for the onchip vga, but I'm not sure if
it's taken at the top or bottom of the memory, yet. LB may also need to
set a base address for the AGP aperture and/or be told that range is
reserved as well, whether this was originally the job of the system bios
or vga bios is still a mystery. It also corrects the number of entries
in irq_tables.c, without this fix the kernel would probably complain and
hang due to unmapped IRQs.

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

16 years agosmall agami aruma configuration updates (trivial)
Stefan Reinauer [Thu, 14 Jun 2007 21:45:21 +0000 (21:45 +0000)]
small agami aruma configuration updates (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@2724 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoFix the static device tree of the ASI MB-5BLMP target. This was broken in
Uwe Hermann [Thu, 14 Jun 2007 19:52:27 +0000 (19:52 +0000)]
Fix the static device tree of the ASI MB-5BLMP target. This was broken in
more than just one way. This version should be (more) correct.

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

16 years agohis patch fixes the CAS map for -.5 and -1 CAS settings. The -.5 setting should only...
Marc Jones [Thu, 14 Jun 2007 17:00:50 +0000 (17:00 +0000)]
his patch fixes the CAS map for -.5 and -1 CAS settings. The -.5 setting should only shift the mask one bit, not two.

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

16 years agoSmall bugfix in i82801xx_lpc.c.
Corey Osgood [Thu, 14 Jun 2007 12:04:19 +0000 (12:04 +0000)]
Small bugfix in i82801xx_lpc.c.

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

16 years agoAdd initial support for the Intel 82810 northbridge.
Corey Osgood [Thu, 14 Jun 2007 12:02:38 +0000 (12:02 +0000)]
Add initial support for the Intel 82810 northbridge.

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

16 years agoThis patch adds support for the Intel i82810 northbridge and various i82801xx
Corey Osgood [Thu, 14 Jun 2007 06:10:57 +0000 (06:10 +0000)]
This patch adds support for the Intel i82810 northbridge and various i82801xx
southbridges, along with the Asus MEW-VM. With this, my machine attempts to
boot linux, but does so very slowly and fails during the boot process, probably
because of the irq tables.

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Joseph Smith <joe@smittys.pointclark.net>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2719 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoAdd the AMD DB800 (AKA Salsa) mainboard.
Marc Jones [Tue, 12 Jun 2007 22:54:41 +0000 (22:54 +0000)]
Add the AMD DB800 (AKA Salsa) mainboard.
The DB800 is the AMD LX Reference Design Kit platform.
For details see: http://www.amd.com/geodelxdb800

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

16 years agoMinor tweaks in the 440BX RAM init code (trivial).
Uwe Hermann [Thu, 7 Jun 2007 22:16:30 +0000 (22:16 +0000)]
Minor tweaks in the 440BX RAM init code (trivial).
Still hardcoded for Tyan S1846.

This slightly increases performance, but it's still pretty horrible.
Some RAM settings are causing a dramatically slow system (confirmed
by comparing memtest performance results of the proprietary BIOS
and our code). Haven't found the problem, yet.

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

16 years agoAdd support for the IEI JUKI-511P and IEI ROCKY-512 half-size boards.
Nikolay Petukhov [Thu, 7 Jun 2007 20:52:42 +0000 (20:52 +0000)]
Add support for the IEI JUKI-511P and IEI ROCKY-512 half-size boards.

Both are very similar, thus both use the JUKI-511P target.

Linux with patches from Juergen Beisert
(http://www.linuxbios.org/pipermail/linuxbios/2007-May/020932.html)
boots and work fine (ide, usb, ethernet, serial, keyboard and sound
work normally).

Problems:
 - Filo loads a bzImage only from ide0 (ide1 doesn't work yet).
 - Video doesn't work, yet.

Signed-off-by: Nikolay Petukhov <nikolay.petukhov@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2716 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoFix up and document the AMD CS5530/CS5530A support in flashrom.
Uwe Hermann [Wed, 6 Jun 2007 21:35:45 +0000 (21:35 +0000)]
Fix up and document the AMD CS5530/CS5530A support in flashrom.

The previous code was pretty unreadable, undocumented and did some totally
unrelated things (such as mucking with the game port or port 0x92).

This version is tested with a 256 KB chip and should work for the
CS5530 and CS5530A.

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

16 years agoAdd support for the Winbond W83977F-A Super I/O.
Nikolay Petukhov [Wed, 6 Jun 2007 10:26:00 +0000 (10:26 +0000)]
Add support for the Winbond W83977F-A Super I/O.

Signed-off-by: Nikolay Petukhov <nikolay.petukhov@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2714 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoflashrom: Document the newly supported IBM x3455 board and the
Uwe Hermann [Tue, 5 Jun 2007 15:02:18 +0000 (15:02 +0000)]
flashrom: Document the newly supported IBM x3455 board and the
now-supported Broadcom HT-1000 chipset (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@2713 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoMove GPIO settings to board specific code for IBM x3455
Stefan Reinauer [Tue, 5 Jun 2007 12:51:52 +0000 (12:51 +0000)]
Move GPIO settings to board specific code for IBM x3455

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

16 years agoAdd support for BCM HT1000 chipset to flashrom. Tested on IBM x3455.
Stefan Reinauer [Tue, 5 Jun 2007 10:28:39 +0000 (10:28 +0000)]
Add support for BCM HT1000 chipset to flashrom. Tested on IBM x3455.
(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@2711 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoSwitch the Tyan S1846 to a fallback-only boot per default to allow
Uwe Hermann [Sun, 3 Jun 2007 23:19:19 +0000 (23:19 +0000)]
Switch the Tyan S1846 to a fallback-only boot per default to allow
bigger payloads (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@2710 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoTyan S1846: Minor fixes in static device tree (trivial):
Uwe Hermann [Sun, 3 Jun 2007 21:57:55 +0000 (21:57 +0000)]
Tyan S1846: Minor fixes in static device tree (trivial):

 - Linux booted with the proprietary BIOS reports 2e.f as PS/2 mouse
   in the output of 'lspnp -v'.

 - The floppy on 2e.f was a typo, should have been 2e.e from the beginning.

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

16 years agoFix the static device tree of the Tyan S1846. Especially the
Uwe Hermann [Sun, 3 Jun 2007 20:39:47 +0000 (20:39 +0000)]
Fix the static device tree of the Tyan S1846. Especially the
Super I/O part was incorrect.

Also, add ide0_enable/ide1_enable variables, and enable both the
primary and secondary IDE interface per default.

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

16 years agoIntel 82371EB: Some code simplifications (trivial).
Uwe Hermann [Sun, 3 Jun 2007 16:57:27 +0000 (16:57 +0000)]
Intel 82371EB: Some code simplifications (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@2707 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

16 years agoThe UART disable code was causing a hang and was worked around with a
Marc Jones [Sat, 2 Jun 2007 23:55:17 +0000 (23:55 +0000)]
The UART disable code was causing a hang and was worked around with a
return that skipped the disable code. This patch removes the return and
fixes the UART disable code.

The problem was that the disable code was ORing bits into the Legacy_IO
MSR causing issues with the LPC SIOs init code that would manifest as a
hang because the IO would not be decoded correctly. ANDing to clear the
bits fixes the issue.

Signed-off-by: Marc Jones <marc.jones@amd.com>
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@2706 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoDrop duplicate 82371AB device IDs (trivial).
Uwe Hermann [Tue, 29 May 2007 19:26:37 +0000 (19:26 +0000)]
Drop duplicate 82371AB device 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@2705 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoUse the common LinuxBIOS license header format.
Uwe Hermann [Tue, 29 May 2007 12:06:06 +0000 (12:06 +0000)]
Use the common LinuxBIOS license header format.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Sven Kapferer <skapfere@rumms.uni-mannheim.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2704 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoIntel 82371EB: Add IDE init support.
Uwe Hermann [Tue, 29 May 2007 10:37:52 +0000 (10:37 +0000)]
Intel 82371EB: Add IDE init support.

In a mainboard's Config.lb file you can configure whether the primary
and/or secondary IDE interfaces shall be enabled.

Also, various fixups in the rest of the southbridge code, most notably
the early SMBus code, plus some documentation improvements.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Corey Osgood <corey_osgood@verizon.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2703 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoLower the RAM init delays we use on the Intel 440BX.
Uwe Hermann [Mon, 28 May 2007 14:37:06 +0000 (14:37 +0000)]
Lower the RAM init delays we use on the Intel 440BX.

As per JEDEC, we should wait 200us until voltages and clocks are stable.
Then apply NOPs for 200 clock cycles (for simplicity we use 200us here).

All other delays are so low that we get away with just waiting 1us.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Peter Stuge <peter@stuge.se>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2702 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoVarious 440BX and Tyan S1846 related minor changes and fixes (trivial):
Uwe Hermann [Sun, 27 May 2007 23:31:31 +0000 (23:31 +0000)]
Various 440BX and Tyan S1846 related minor changes and fixes (trivial):

 - Only check the RAM from 0 - 640 KB and 768 KB - 1 MB now. That's
   available on all boards, regardless of what DIMMs you use.
   Tested on the Tyan S1846, works fine.

 - Properly set the PAM registers to allow the region from 768 KB - 1 MB
   to be used as normal RAM (required for the above).

 - Document all of this properly. Add/improve other documentation, too.

 - Simplify and document code in northbridge.c.

 - Cosmetics and coding style.

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

17 years agoInit for the Intel 82371EB southbridge: make all ROM/BIOS regions
Uwe Hermann [Sun, 27 May 2007 21:43:58 +0000 (21:43 +0000)]
Init for the Intel 82371EB southbridge: make all ROM/BIOS regions
accessible (but not writable), so that reading/loading a payload
from that area can work (for instance).

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

17 years agoThis patch fixes the processor name string for Rev F. CPUs.
Sven Kapferer [Sat, 26 May 2007 13:56:34 +0000 (13:56 +0000)]
This patch fixes the processor name string for Rev F. CPUs.
It moves the complete naming functionality to
src/cpu/amd/model_fxx/processor_name.c.

The current code sets the processor name string twice for Rev. F CPUs.

In src/cpu/amd/model_fxx/model_fxx_init.c the function
amd_set_name_string_f is called first. Several lines later
init_processor_name is called which doesn't recognize newer CPUs and
actually programs incorrect values, thus overwriting the previously set
CPU name. For example, this resulted in identifying an Opteron 2218 as a
Turion processor.

This patch removes the amd_set_name_string_f function from
src/cpu/amd/model_fxx/model_fxx_init.c and adds support for Rev. F CPUs
to src/cpu/amd/model_fxx/processor_name.c as described in the Revision
Guide for AMD NPT Family 0Fh Processors, AMD Document ID 33610 Rev 3.00,
October 2006.

Signed-off-by: Sven Kapferer <skapfere@rumms.uni-mannheim.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2699 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd initial support for the ASUS A8N-E board.
Philipp Degler [Thu, 24 May 2007 20:39:48 +0000 (20:39 +0000)]
Add initial support for the ASUS A8N-E board.

Signed-off-by: Philipp Degler <pdegler@rumms.uni-mannheim.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2698 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoDrop the src/southbridge/amd/cs5536_lx directory and its contents, as
Uwe Hermann [Thu, 24 May 2007 19:46:32 +0000 (19:46 +0000)]
Drop the src/southbridge/amd/cs5536_lx directory and its contents, as
the new src/southbridge/amd/cs5536 code completely replaces it.

The Artecgroup dbe61 board currently uses it, but that is broken anyway
at the moment. A fix to use the new CS5536 code for it is being worked on.

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

17 years agoMinor cosmetics (trivial).
Uwe Hermann [Thu, 24 May 2007 19:17:29 +0000 (19:17 +0000)]
Minor cosmetics (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@2696 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoVarious IT8712F fixes:
Philipp Degler [Thu, 24 May 2007 18:44:50 +0000 (18:44 +0000)]
Various IT8712F fixes:

 - Add missing IT8712F_GPIO definition.
 - Add functions for entering and exiting MB PnP mode.
 - Add some more device init lines to pnp_dev_info[].

Signed-off-by: Philipp Degler <pdegler@rumms.uni-mannheim.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2695 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoSmall patch that adds an error message in case the keyboard selftest fails.
Philipp Degler [Thu, 24 May 2007 13:55:45 +0000 (13:55 +0000)]
Small patch that adds an error message in case the keyboard selftest fails.

Signed-off-by: Philipp Degler <pdegler@rumms.uni-mannheim.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2694 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agodrop leftover includes (trivial)
Stefan Reinauer [Thu, 24 May 2007 09:26:39 +0000 (09:26 +0000)]
drop leftover includes (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@2693 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agosome copyright analysis
Stefan Reinauer [Thu, 24 May 2007 09:08:36 +0000 (09:08 +0000)]
some copyright analysis
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2692 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agofactor out register mapping code (trivial)
Stefan Reinauer [Thu, 24 May 2007 08:48:10 +0000 (08:48 +0000)]
factor out register mapping code (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@2691 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoUnify mmap error messages in flashrom (trivial)
Stefan Reinauer [Wed, 23 May 2007 18:24:58 +0000 (18:24 +0000)]
Unify mmap error messages in flashrom (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@2690 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agobig cosmetic offensive on flashrom. (trivial)
Stefan Reinauer [Wed, 23 May 2007 17:20:56 +0000 (17:20 +0000)]
big cosmetic offensive on flashrom. (trivial)
* Give decent names to virt_addr and virt_addr_2
* add some comments
* move virtual addresses to the end of the struct,
  so they dont mess up the initializer.

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

17 years agoreverting 2683, NAK by YhLu, patch not necessary.
Stefan Reinauer [Tue, 22 May 2007 15:04:28 +0000 (15:04 +0000)]
reverting 2683, NAK by YhLu, patch not necessary.

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

17 years agoAdd missing license headers, minor cosmetic fixes in existing headers.
Uwe Hermann [Tue, 22 May 2007 10:12:49 +0000 (10:12 +0000)]
Add missing license headers, minor cosmetic fixes in existing headers.

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

17 years agoAdd support for the Winbond W39V040FA chip.
Uwe Hermann [Mon, 21 May 2007 21:39:08 +0000 (21:39 +0000)]
Add support for the Winbond W39V040FA chip.

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

17 years agoDrop the (non-working, almost non-existant) support for
Uwe Hermann [Mon, 21 May 2007 21:36:03 +0000 (21:36 +0000)]
Drop the (non-working, almost non-existant) support for

 - the Transmeta TM5800 northbridge

 - the Densitron DPX114 mainboard (the only one using the TM5800)

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

17 years agoDrop romcc related stuff, as this board only uses CAR.
Uwe Hermann [Mon, 21 May 2007 21:33:24 +0000 (21:33 +0000)]
Drop romcc related stuff, as this board only uses CAR.

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

17 years agoThe Gigabyte m57sli-s4 board supports Rev. F CPUs.
Ward Vandewege [Mon, 21 May 2007 20:50:48 +0000 (20:50 +0000)]
The Gigabyte m57sli-s4 board supports Rev. F CPUs.

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

17 years agofix some typos, clarify comments and drop dead code (trivial)
Stefan Reinauer [Mon, 21 May 2007 18:38:29 +0000 (18:38 +0000)]
fix some typos, clarify comments and drop dead code (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@2682 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis is the last remainder from Yinghai's mega patch. It fixes issues with
Yinghai Lu [Mon, 21 May 2007 18:11:17 +0000 (18:11 +0000)]
This is the last remainder from Yinghai's mega patch. It fixes issues with
devices conflicting with the northbridge devices on PCI bus 0.

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

17 years agofix lbtdump after last checkin. (trivial)
Stefan Reinauer [Sun, 20 May 2007 17:28:55 +0000 (17:28 +0000)]
fix lbtdump after last checkin. (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@2680 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoHere is a small fix to prevent a segmentation fault in lbtdump.
Ben Hewson [Sun, 20 May 2007 17:10:17 +0000 (17:10 +0000)]
Here is a small fix to prevent a segmentation fault in lbtdump.

The format specifier in the printf statements have been changed from
%08lx to %08llx or similar where uint64_t are being displayed.

Signed-off-by: Ben Hewson <ben@hewson-venieri.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2679 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd additional CPU device ID:
Jeremy Jackson [Sun, 20 May 2007 16:36:01 +0000 (16:36 +0000)]
Add additional CPU device ID:

CPU: vendor AMD device
30ff2
CPU: family 0f, model 3f, stepping 02

All I know is this makes it boot when it didn't before, YMMV.

Signed-off-by: Jeremy Jackson <jerj@coplanar.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2678 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoFlashrom: add support for ASUS P5A (Socket 7, ALi based).
Luc Verhaegen [Sun, 20 May 2007 16:16:13 +0000 (16:16 +0000)]
Flashrom: add support for ASUS P5A (Socket 7, ALi based).

* Add support for the ALi M1533 to chipset_enable.c
* Add some SMBus poking needed for the ASUS P5A, to board_enable.c

Since PCI subsystem IDs are worthless with this board, people will
have to name the board directly.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
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@2677 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoFix typos (trivial).
Uwe Hermann [Sat, 19 May 2007 19:22:55 +0000 (19:22 +0000)]
Fix typos (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@2676 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoMinor cosmetics (trivial).
Uwe Hermann [Sat, 19 May 2007 17:28:40 +0000 (17:28 +0000)]
Minor cosmetics (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@2675 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoInitialize the fans on the adt7463 chip to be dynamically regulated by the
Ward Vandewege [Sat, 19 May 2007 16:07:08 +0000 (16:07 +0000)]
Initialize the fans on the adt7463 chip to be dynamically regulated by the
hardware, rather than always on at full speed. Set temperature treshold values
to safe defaults, rather than the not-so-safe power-on defaults.

Signed-off-by: Ward Vandewege <ward@gnu.org>
Acked-by: Yinghai Lu <yinghailu@gmail.com>
Acked-by: Ward Vandewege <ward@gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2674 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd missing license header (closes #53).
Luis Correia [Thu, 17 May 2007 16:00:30 +0000 (16:00 +0000)]
Add missing license header (closes #53).

Signed-off-by: Luis Correia <luis.f.correia@gmail.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2673 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoWhitespace fixes (trivial).
Corey Osgood [Thu, 17 May 2007 11:20:18 +0000 (11:20 +0000)]
Whitespace fixes (trivial).

Signed-off-by: Corey Osgood <corey_osgood@verizon.net>
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@2672 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoCosmetic changes: push includes to top of file in chip.h files.
Roger Zauner [Wed, 16 May 2007 06:58:15 +0000 (06:58 +0000)]
Cosmetic changes: push includes to top of file in chip.h files.

Signed-off-by: Roger Zauner <roger@eskimo.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2671 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoSimplify spd_read_byte() functions (trivial).
Uwe Hermann [Tue, 15 May 2007 10:26:16 +0000 (10:26 +0000)]
Simplify spd_read_byte() functions (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@2670 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoVarious cosmetic fixes (trivial).
Uwe Hermann [Tue, 15 May 2007 07:11:09 +0000 (07:11 +0000)]
Various 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@2669 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoIEI NOVA-4899R: Add missing license headers.
Luis Correia [Tue, 15 May 2007 06:57:57 +0000 (06:57 +0000)]
IEI NOVA-4899R: Add missing license headers.

Signed-off-by: Luis Correia <luis.f.correia@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2668 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoIEI NOVA-4899R: Correctly configure Super I/O PNP devices.
Luis Correia [Tue, 15 May 2007 06:56:12 +0000 (06:56 +0000)]
IEI NOVA-4899R: Correctly configure Super I/O PNP devices.

Signed-off-by: Luis Correia <luis.f.correia@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2667 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoIEI NOVA-4899R: Fix incorrect irq_tables.c.
Luis Correia [Tue, 15 May 2007 06:55:03 +0000 (06:55 +0000)]
IEI NOVA-4899R: Fix incorrect irq_tables.c.

Signed-off-by: Luis Correia <luis.f.correia@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2666 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoIEI NOVA-4899R: Drop unused files.
Luis Correia [Tue, 15 May 2007 06:50:06 +0000 (06:50 +0000)]
IEI NOVA-4899R: Drop unused files.

Signed-off-by: Luis Correia <luis.f.correia@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2665 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAMD Norwich: minor cosmetic fixes and drop dead code (trivial).
Uwe Hermann [Mon, 14 May 2007 11:33:41 +0000 (11:33 +0000)]
AMD Norwich: minor cosmetic fixes and drop dead 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@2664 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoClean up whitespace in preparation for another patch to fix fan control.
Ward Vandewege [Fri, 11 May 2007 19:23:57 +0000 (19:23 +0000)]
Clean up whitespace in preparation for another patch to fix fan control.

This is nothing more than the result of running

  indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs adm1027.c

Signed-off-by: Ward Vandewege <ward@gnu.org>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
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@2663 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThe Super I/O needs 0x87 sent twice to 0x2e (or 0x4e) to enable extended
Roger Zauner [Fri, 11 May 2007 11:17:58 +0000 (11:17 +0000)]
The Super I/O needs 0x87 sent twice to 0x2e (or 0x4e) to enable extended
function (power-on strapping). Although this is already done in superio.c,
it's not being done when w83627thf_early_serial.c is executed.
As such, no console_init() without it.

Signed-off-by: Roger Zauner <roger@eskimo.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2662 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoFixup the 440BX northbridge.c (self-ack as this wasn't working anyway).
Uwe Hermann [Thu, 10 May 2007 23:59:20 +0000 (23:59 +0000)]
Fixup the 440BX northbridge.c (self-ack as this wasn't working anyway).

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

17 years agoThis fix properly hides the UDC and OTG PCI headers when the cs5536 is
Marc Jones [Thu, 10 May 2007 23:53:11 +0000 (23:53 +0000)]
This fix properly hides the UDC and OTG PCI headers when the cs5536 is
setup as the host on USB port4. In client mode the headers remain
available. Also fixes an outb to 0x80 to use the post_code() function.

Signed-off-by: Marc Jones <marc.jones@amd.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2660 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoChanges by Richard Smith and Peter Stuge from the LinuxBIOS symposium 2006.
Peter Stuge [Thu, 10 May 2007 23:50:27 +0000 (23:50 +0000)]
Changes by Richard Smith and Peter Stuge from the LinuxBIOS symposium 2006.

With CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2=0, 1 million outb():s are used
for timer calibration, which takes about one second.

All EPIA-M boards have timer2 so we use it to boot faster.

Only some EPIA boards have the Nehemiah CPU with timer2 so we default to IO
calibration but add the TSC options so that they can be set in Config.lb.

src/mainboard/via/epia*/reset.c is dead code (entire file within #if 0) so we
set HAVE_HARD_RESET=0 for both boards.

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

17 years agoThis patch cleans up and clarifies Geode source code comments.
Marc Jones [Thu, 10 May 2007 23:22:27 +0000 (23:22 +0000)]
This patch cleans up and clarifies Geode source code comments.

Signed-off-by: Marc Jones <marc.jones@amd.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2658 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis patch cleans up \r left in the print strings. They were required for romcc code...
Marc Jones [Thu, 10 May 2007 23:13:18 +0000 (23:13 +0000)]
This patch cleans up \r left in the print strings. They were required for romcc code but no longer needed in cache as ram code.

Signed-off-by: Marc Jones <marc.jones@amd.com>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2657 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis patch updates the PCI ID of the Geode IDE device to include the revision.
Marc Jones [Thu, 10 May 2007 23:12:18 +0000 (23:12 +0000)]
This patch updates the PCI ID of the Geode IDE device to include the revision.

Signed-off-by: Marc Jones <marc.jones@amd.com>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2656 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoFixed a bug within the 440BX RAM size calculation. Since the DRB values
Ceri Coburn [Thu, 10 May 2007 22:46:17 +0000 (22:46 +0000)]
Fixed a bug within the 440BX RAM size calculation. Since the DRB values
on the 440BX are 8 MB units we need to shift left by 13 to get it into KB.

Signed-off-by: Ceri Coburn <ceri.coburn@gmail.com>
Signed-off-by: Roger Zauner <roger@eskimo.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2655 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1