coreboot.git
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

17 years agoindent is by no means as harmless as one might think ;-)
Stefan Reinauer [Thu, 10 May 2007 22:21:13 +0000 (22:21 +0000)]
indent is by no means as harmless as one might think ;-)
trivial fix.

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

17 years agoThe attached patch sets the MA map type correctly for all DIMMs I was
Alex Mauer [Thu, 10 May 2007 19:02:19 +0000 (19:02 +0000)]
The attached patch sets the MA map type correctly for all DIMMs I was
able to find to test with the Epia.

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

17 years agoThis patch removes auto.c from the Norwich mainboard directory.
Marc Jones [Thu, 10 May 2007 18:49:58 +0000 (18:49 +0000)]
This patch removes auto.c from the Norwich mainboard directory.

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

17 years agoFix the indent and whitespace to match LinuxBIOS standards
Jordan Crouse [Thu, 10 May 2007 18:43:57 +0000 (18:43 +0000)]
Fix the indent and whitespace to match LinuxBIOS standards

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

17 years agoFix the indent and whitespace to match LinuxBIOS standards
Jordan Crouse [Thu, 10 May 2007 18:32:28 +0000 (18:32 +0000)]
Fix the indent and whitespace to match LinuxBIOS standards

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

17 years agoFix the indent and whitespace to match LinuxBIOS standards
Jordan Crouse [Thu, 10 May 2007 18:16:03 +0000 (18:16 +0000)]
Fix the indent and whitespace to match LinuxBIOS standards

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

17 years agoFix the indent and whitespace to match LinuxBIOS standards
Jordan Crouse [Thu, 10 May 2007 18:00:24 +0000 (18:00 +0000)]
Fix the indent and whitespace to match LinuxBIOS standards

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

17 years agoAdd missing licenses to several of the files.
Jordan Crouse [Thu, 10 May 2007 17:58:11 +0000 (17:58 +0000)]
Add missing licenses to several of the files.

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

17 years agoAdd missing licenses to several of the files.
Jordan Crouse [Thu, 10 May 2007 17:57:03 +0000 (17:57 +0000)]
Add missing licenses to several of the files.

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

17 years agoThe superio needs 0x87 sent twice to 0x3f0 to enable extended function
Roger Zauner [Wed, 9 May 2007 17:54:25 +0000 (17:54 +0000)]
The superio needs 0x87 sent twice to 0x3f0 to enable extended function
(power-on strapping). Although this is already done in superio.c, it's
not being done when w83977tf_early_serial.c is executed. As such, no
console_init() without it.

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

17 years agoUncomment compression config variables. This should fix the abuild
Uwe Hermann [Wed, 9 May 2007 15:11:03 +0000 (15:11 +0000)]
Uncomment compression config variables. This should fix the abuild
problems with the asi/mb_5bmlp (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@2644 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoFix coding style of flashrom by running indent on all files:
Uwe Hermann [Wed, 9 May 2007 10:17:44 +0000 (10:17 +0000)]
Fix coding style of flashrom by running indent on all files:

  indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs *.[ch]

Some minor fixups were required, and maybe a few more cosmetic
changeŃ• are needed.

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

17 years agoThis patch uses auto.c from Uwe's tyan s1846 for both boards, with some
Corey Osgood [Wed, 9 May 2007 08:11:52 +0000 (08:11 +0000)]
This patch uses auto.c from Uwe's tyan s1846 for both boards, with some
minor changes, to bring them up to par. It also should remove (but might
just clean out) the irq_tables.c from both boards, because they were
just copied from Via Epia to begin with, and weren't usable. As far as I
can tell, these are the only changes needed to the targets for now,
aside from fixups to reset.c when the time comes. Both have been build
tested, but not checked on hardware since I don't have it. I have left
Uwe as the copyright holder since the only changes I've made are trivial.

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

17 years agoAdd initial support for the ASI/BCom MB-5BLMP mainboard, as used in
Uwe Hermann [Wed, 9 May 2007 07:52:14 +0000 (07:52 +0000)]
Add initial support for the ASI/BCom MB-5BLMP mainboard, as used in
the IGEL Winnet III thin client.

It boots a Linux kernel, but there are some problems. The login
prompt is never reached, it simply hangs at some point.
One possible reason is the IRQ table, which needs fixing.

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

17 years agoNew irq table, and a correct setting for
Ronald G. Minnich [Tue, 8 May 2007 16:04:36 +0000 (16:04 +0000)]
New irq table, and a correct setting for
the 5c register in the southbridge so that interrupts are routed
correctly.
With this patch, ethernet works quite well.
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@2640 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd missing licenses to several of the files.
Jordan Crouse [Mon, 7 May 2007 22:26:46 +0000 (22:26 +0000)]
Add missing licenses to several of the files.

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

17 years agoThis is the final patch to enable the msm800sev to build. This patch
Ronald G. Minnich [Sat, 5 May 2007 03:54:13 +0000 (03:54 +0000)]
This is the final patch to enable the msm800sev to build. This patch
adds a symbol to the model_lx/cache_as_ram.inc, and modifies some
files in the mainboard directory. This patch has been tested but there
is a remaining problem which I am tracking down. Expect one more patch
to "get it all working".

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

17 years agoWith this patch, the msm800sev runs FILO and boots a kernel.
Ronald G. Minnich [Sat, 5 May 2007 00:10:31 +0000 (00:10 +0000)]
With this patch, the msm800sev runs FILO and boots a kernel.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
-This line, and those below, will be ignored--

M    cs5536.c

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2637 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis patch as a cache_as_ram_auto.c for the msm800sev.
Ronald G. Minnich [Fri, 4 May 2007 23:15:28 +0000 (23:15 +0000)]
This patch as a cache_as_ram_auto.c for the msm800sev.

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

17 years agoDrop src/mainboard/amd/norwich/debug.c as it is not used.
Uwe Hermann [Fri, 4 May 2007 21:52:18 +0000 (21:52 +0000)]
Drop src/mainboard/amd/norwich/debug.c as it is not used.

I'm self-acking as this is pretty trivial. I tested both a normal build
and an abuild-run, and nothing breaks.

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

17 years agoSome minor fixes in it8716f/superio.c:
Uwe Hermann [Fri, 4 May 2007 21:33:40 +0000 (21:33 +0000)]
Some minor fixes in it8716f/superio.c:
 - Add Ward Vandewege <ward@gnu.org> as copyright holder.
 - Use explicit 'uint16_t' instead of 'unsigned long'.
 - Minor cosmetics.

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

17 years agopatch to fix the IDE configuration on EPIA boards. At some point this
Ben Hewson [Fri, 4 May 2007 19:43:57 +0000 (19:43 +0000)]
patch to fix the IDE configuration on EPIA boards. At some point this
broke and stopped FILO
from being able to boot.

The fix is a simple one line change  plus a comment to
src/mainboard/via/epia/auto.c to write to the IDE
configuration register 0x42 .  This has always been done here, however
at some point
something broke it.

The same register was also being set correctly  in ide_init(), however
for some reason
this does not work. Possibly the register needs to be set before the IDE
peripheral is enabled
or maybe it is a timing issue.

The section of code in ide_init() (
src/southbridge/via/vt8231/vt8231_ide.c ) that does
write to register 0x42 has been commented out as it is superfluous
and I have added a comment to indicate the reason, should someone at a
future date wonder
why.

I have also changed the default COM speed from 19200 to 115200 in
src/mainboard/via/epia/Options.lb
There has been mention before about the EPIA board not being able to use
115200 but I have seen
no such problems with my board.

Signed-off-by: Ben Hewson <ben@hewson-venieri.com>
This patch worked for me and allowed me to boot Debian kernel
2.5.16-4-486  on an epia 800 mhz system.  It is able to consistently get
through the initialization and start init now.

However, after that it crashes at various points in the boot process.

Acked-by: Alex Mauer <hawke@hawkesnest.net>
Note from comitter: I am commiting this, although:
1. it's not the exact right way to fix it up, the chip.h for the sb
should change
2. Alex reports problems, which are almost certainly memory issues.

But it is as close as we've gotten. I can't test it.

Ron Minnich

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2633 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis repairs the other Geode mainboards so they'll build with the new
Marc Jones [Fri, 4 May 2007 19:09:01 +0000 (19:09 +0000)]
This repairs the other Geode mainboards so they'll build with the new
Geode changes.

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

17 years agoThis patch re-implements support for the CS5536 companion chip for the
Marc Jones [Fri, 4 May 2007 19:05:36 +0000 (19:05 +0000)]
This patch re-implements support for the CS5536 companion chip for the
AMD GX and LX processors.   This aguments the previous code, which was
very specific to the OLPC platform with general purpose support and
better integration with the VSA and CPUs.

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

17 years agoThis patch adds support for the northbridge integrated into the AMD
Marc Jones [Fri, 4 May 2007 18:58:42 +0000 (18:58 +0000)]
This patch adds support for the northbridge integrated into the AMD
Geode LX platform, including memory and graphics. (rediffed for whitespace)

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

17 years agoThis patch adds support for the AMD Norwich development platform
Marc Jones [Fri, 4 May 2007 18:47:52 +0000 (18:47 +0000)]
This patch adds support for the AMD Norwich development platform
based on the Geode LX processor.  The Norwich is the canonical
Geode reference, and will server as a good basis for other
Geode based platforms.

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

17 years agoThis patch adds support for the AMD Geode LX CPU. (rediffed)
Marc Jones [Fri, 4 May 2007 18:24:55 +0000 (18:24 +0000)]
This patch adds support for the AMD Geode LX CPU. (rediffed)

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

17 years agoAdd WinBond Super IO helpers.
Luc Verhaegen [Fri, 4 May 2007 04:47:04 +0000 (04:47 +0000)]
Add WinBond Super IO helpers.

* These helpers severely clear up winbond superio usage.
* Removed board_iwill_dk8_htx as it can be replaced by
  board_agami_aruma (Mondrian Nuessle).
* Renamed board_agami_aruma to w83627hf_gpio24_raise.
* Clarified comments in w83627hf_gpio24_raise, and added
  some things from the old iwill code.
* Moved all board functions name argument to const.
  (warning breaks build)
* Moved iwill entry in board_pciid_enables.

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

17 years agoCosmetics (trivial).
Uwe Hermann [Fri, 4 May 2007 00:51:17 +0000 (00:51 +0000)]
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@2626 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd missing license headers to some Geode LX related files.
Jordan Crouse [Thu, 3 May 2007 21:36:51 +0000 (21:36 +0000)]
Add missing license headers to some Geode LX related files.

The following original authors agreed to the license:

 - Ronald G. Minnich <rminnich@gmail.com>
 - Indrek Kruusa <indrek.kruusa@artecdesign.ee>
 - Stefan Reinauer <stepan@coresystems.de>
 - Andrei Birjukov <andrei.birjukov@artecdesign.ee>

Signed-off-by: Jordan Crouse <jordan.crouse@amd.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@2625 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoEnable flashing on the IWILL DK8-HTX board by configuring the Super I/O
Mondrian Nuessle [Thu, 3 May 2007 10:09:23 +0000 (10:09 +0000)]
Enable flashing on the IWILL DK8-HTX board by configuring the Super I/O
to set the right GPIO pins, so write protection is disabled.

Signed-off-by: Mondrian Nuessle <nuessle@uni-mannheim.de>
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@2624 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoCorrect the RAM checking code to _not_ check the range from 640 KB - 1 MB,
Uwe Hermann [Thu, 3 May 2007 08:50:37 +0000 (08:50 +0000)]
Correct the RAM checking code to _not_ check the range from 640 KB - 1 MB,
as that is not RAM but used for other stuff.

First try at PCI init added to src/mainboard/tyan/s1846/Config.lb.

Use a real payload (FILO) per default now.

Note: this cannot boot a payload, yet, but it gets a lot further now.

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

17 years agoFix typo: s/PRINT_DEBUG_/PRINT_DEBUG/ (trivial).
Uwe Hermann [Mon, 30 Apr 2007 23:27:27 +0000 (23:27 +0000)]
Fix typo: s/PRINT_DEBUG_/PRINT_DEBUG/ (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@2622 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd initial support for the following flash chips:
Uwe Hermann [Sat, 28 Apr 2007 02:22:59 +0000 (02:22 +0000)]
Add initial support for the following flash chips:

 - Atmel AT29C020
 - STMicroelectronics M29F002B
 - STMicroelectronics M29F002T
 - STMicroelectronics M29F002NT

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

17 years agoAdd fan control support to ITE IT8716F.
Ward Vandewege [Fri, 27 Apr 2007 21:24:53 +0000 (21:24 +0000)]
Add fan control support to ITE IT8716F.

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

17 years agoActivate EC for access to fan speeds and temperature sensors.
Ward Vandewege [Thu, 26 Apr 2007 20:55:45 +0000 (20:55 +0000)]
Activate EC for access to fan speeds and temperature sensors.

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

17 years agoRevert the image size increasing for abuild. It breaks more boards than
Uwe Hermann [Wed, 25 Apr 2007 00:23:39 +0000 (00:23 +0000)]
Revert the image size increasing for abuild. It breaks more boards than
it fixes. It seems many of the other boards run out of space for the
payload.

Thus, this patch only increases the image size for the three boards

 - tyan/s2912
 - nvidia/l1_2pvv
 - gigabyte/m57sli

by adding a custom Config-abuild.lb file for each of them.

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

17 years agoIncrease image size for abuild. This should fix the build of these boards:
Uwe Hermann [Tue, 24 Apr 2007 21:54:21 +0000 (21:54 +0000)]
Increase image size for abuild. This should fix the build of these boards:

 - tyan/s2912
 - nvidia/l1_2pvv
 - gigabyte/m57sli

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

17 years agotrivial: fix filename in comment.
Stefan Reinauer [Tue, 24 Apr 2007 18:40:02 +0000 (18:40 +0000)]
trivial: fix filename in comment.

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

17 years agoAdd explicit license headers to all files in src/device.
Uwe Hermann [Sun, 22 Apr 2007 19:08:13 +0000 (19:08 +0000)]
Add explicit license headers to all files in src/device.

For files derived from the Linux kernel we merely add a small header
which states the origin of the file and the copyright owners of the
modifications to the file.
We know all files from Linux are licensed under the GPLv2.

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

17 years agoUse __PAYLOAD__ instead of PAYLOAD as replacement template for abuild.
Uwe Hermann [Sun, 22 Apr 2007 19:03:34 +0000 (19:03 +0000)]
Use __PAYLOAD__ instead of PAYLOAD as replacement template for abuild.

Comment out code which currently doesn't compile. Needs fixing later.

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

17 years agoUpdate URL for the PCI IRQ Routing Table Specification (trivial).
Uwe Hermann [Sun, 22 Apr 2007 01:17:36 +0000 (01:17 +0000)]
Update URL for the PCI IRQ Routing Table Specification (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@2613 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoMake the output of getpir look a bit less crappy (trivial).
Uwe Hermann [Sat, 21 Apr 2007 18:17:50 +0000 (18:17 +0000)]
Make the output of getpir look a bit less crappy (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@2612 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis patch makes a some elf debugging information available at log level
Stefan Reinauer [Sat, 14 Apr 2007 16:34:32 +0000 (16:34 +0000)]
This patch makes a some elf debugging information available at log level
debug instead of spew. (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@2611 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoExit on return code of read_layout and print error message to stderr
Stefan Reinauer [Sat, 14 Apr 2007 16:32:59 +0000 (16:32 +0000)]
Exit on return code of read_layout and print error message to stderr
instead of stdout (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@2610 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoOn behalf of AMD:
Yinghai Lu [Thu, 12 Apr 2007 01:23:12 +0000 (01:23 +0000)]
On behalf of AMD:

Drop AMD prototype mainboards that were for internal testing &
validation use only.

Note: These boards could never be purchased. No reasons to worry.
Questions welcome via private mail.

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

17 years agoadd uses CONFIG_COMPRESSED_PAYLOAD_* to allow building the board in
Stefan Reinauer [Thu, 12 Apr 2007 00:47:22 +0000 (00:47 +0000)]
add uses CONFIG_COMPRESSED_PAYLOAD_* to allow building the board in
abuild with a payload. 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@2608 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoFix two boards broken by the large patches of late.
Peter Stuge [Thu, 12 Apr 2007 00:28:32 +0000 (00:28 +0000)]
Fix two boards broken by the large patches of late.

artecgroup/dbe61
Add CONFIG_COMPRESSED_PAYLOAD_NRV2B to Options.lb since it's used in
Config.lb.
Change default for CONFIG_PCI_ROM_RUN to 1 so VGA ROM can run.

technologic/ts5300
Removed CONFIG_CONSOLE_VGA, the embedded board has no VGA without the
development addon card anyways.
Changes to target Config.lb so it actually builds.

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

17 years agoVendor specific patch, thus self-acked.
Stefan Reinauer [Thu, 12 Apr 2007 00:12:41 +0000 (00:12 +0000)]
Vendor specific patch, thus self-acked.

* going back to old board specific dsdt for agami aruma.
  This is hopefully dropped again some day, but until then
  here's a working solution.
* Some minor Agami specific changes.
* drop obsolete bringup workaround hyperclocking.diff
* increase image size again, x86emu wants it.

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

17 years agoConfig file update for Agami Aruma board.
Stefan Reinauer [Wed, 11 Apr 2007 23:38:50 +0000 (23:38 +0000)]
Config file update for Agami Aruma board.

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

17 years agoTrivial patch: Make buildrom a little bit more verbose.
Stefan Reinauer [Wed, 11 Apr 2007 23:36:02 +0000 (23:36 +0000)]
Trivial patch: Make buildrom a little bit more verbose.
It shows the remaining space in an image now.

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

17 years agoRename flash_rom.c to flashrom.c. The tool is called 'flashrom' after
Uwe Hermann [Wed, 11 Apr 2007 23:31:45 +0000 (23:31 +0000)]
Rename flash_rom.c to flashrom.c. The tool is called 'flashrom' after
all.

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

17 years agoJeremy Jackson wrote:
Jeremy Jackson [Wed, 11 Apr 2007 18:44:42 +0000 (18:44 +0000)]
Jeremy Jackson wrote:
I'm guessing nobody has tried compiling it with 64bit userspace?

Patch makes it compile cleanly and stops a "SEGV instead of working"
issue.

I also added a few checks for errors on system calls.

Signed-off-by: Jeremy Jackson <jerj@coplanar.net>
Reworked and
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2602 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoflashrom: Add VIA CX700 to the list of supported southbridges (trivial).
Uwe Hermann [Mon, 9 Apr 2007 22:59:22 +0000 (22:59 +0000)]
flashrom: Add VIA CX700 to the list of supported southbridges (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@2601 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis patch corrects r2587. It makes sure that the VGA is initialized
Roman Kononov [Mon, 9 Apr 2007 22:50:12 +0000 (22:50 +0000)]
This patch corrects r2587. It makes sure that the VGA is initialized
when CONFIG_CONSOLE_VGA==0 and CONFIG_PCI_ROM_RUN==1

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

17 years agoadd support for CX700 builtin southbridge
Randall Philipson [Mon, 9 Apr 2007 22:27:45 +0000 (22:27 +0000)]
add support for CX700 builtin southbridge
Signed-off-by: Randall Philipson <rtphilipson@cox.net>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2599 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoincrease image size for abuild (trivial)
Stefan Reinauer [Sat, 7 Apr 2007 13:27:14 +0000 (13:27 +0000)]
increase image size 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@2598 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoFix epia-m build after u8/u16/u32 changes in Yh Lu's patch.
Peter Stuge [Sat, 7 Apr 2007 09:17:00 +0000 (09:17 +0000)]
Fix epia-m build after u8/u16/u32 changes in Yh Lu's patch.

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

17 years agoYhLu's patch from January 18th.
Yinghai Lu [Fri, 6 Apr 2007 21:06:44 +0000 (21:06 +0000)]
YhLu's patch from January 18th.

hypertransport specific updates

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Ed Swierk <eswierk@arastra.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ward Vandewege <ward@gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2596 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis commit is part of YhLu's patch from January 18th.
Yinghai Lu [Fri, 6 Apr 2007 20:59:54 +0000 (20:59 +0000)]
This commit is part of YhLu's patch from January 18th.

Drop a lot of debugging code from northbridge.c

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Ed Swierk <eswierk@arastra.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ward Vandewege <ward@gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2595 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoYhLu's patch from January 18th. This part is mostly cleaning up
Yinghai Lu [Fri, 6 Apr 2007 20:58:37 +0000 (20:58 +0000)]
YhLu's patch from January 18th. This part is mostly cleaning up
dead code and adding a few fixmes.

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Ed Swierk <eswierk@arastra.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ward Vandewege <ward@gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2594 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agonext part of YhLu's large patch. I am not sure whether the tables.c
Yinghai Lu [Fri, 6 Apr 2007 20:27:40 +0000 (20:27 +0000)]
next part of YhLu's large patch. I am not sure whether the tables.c
changes are correct. If someone could look into this, thank you.

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Ed Swierk <eswierk@arastra.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ward Vandewege <ward@gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2593 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoDisable USB console on the m57sli for now.
Ed Swierk [Fri, 6 Apr 2007 20:01:44 +0000 (20:01 +0000)]
Disable USB console on the m57sli for now.

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

17 years agoPart IV
Yinghai Lu [Fri, 6 Apr 2007 19:59:11 +0000 (19:59 +0000)]
Part IV

Signed-off-by: Yinghai Lu <yinghai.lu at amd.com>
Signed-off-by: Ed Swierk <eswierk at arastra.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ward Vandewege <ward at gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2591 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoPart III of YhLu's patch from January 18th
Yinghai Lu [Fri, 6 Apr 2007 19:57:42 +0000 (19:57 +0000)]
Part III of YhLu's patch from January 18th

Signed-off-by: Yinghai Lu <yinghai.lu at amd.com>
Signed-off-by: Ed Swierk <eswierk at arastra.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ward Vandewege <ward at gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2590 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agotwo more directories from YhLu's mcp55 megapatch.
Yinghai Lu [Fri, 6 Apr 2007 19:51:02 +0000 (19:51 +0000)]
two more directories from YhLu's mcp55 megapatch.

Signed-off-by: Yinghai Lu <yinghai.lu at amd.com>
Signed-off-by: Ed Swierk <eswierk at arastra.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ward Vandewege <ward at gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2589 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis is part of the outstanding mcp55 commit from January 18th. It will
Yinghai Lu [Fri, 6 Apr 2007 19:49:05 +0000 (19:49 +0000)]
This is part of the outstanding mcp55 commit from January 18th. It will
likely break the build, since it is only a small part, but it needs to
go in at some point and doing it directory by directory makes things
easier.

Signed-off-by: Yinghai Lu <yinghai.lu at amd.com>
Signed-off-by: Ed Swierk <eswierk at arastra.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ward Vandewege <ward at gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2588 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis patch makes sure that VGA is initialized before it is used. Without
Roman Kononov [Fri, 6 Apr 2007 18:34:39 +0000 (18:34 +0000)]
This patch makes sure that VGA is initialized before it is used. Without
this fix, LinuxBIOS crashes if the CONSOLE_LOG_LEVEL is high enough.

Additionally, The VGA option rom will be executed if either
CONFIG_PCI_ROM_RUN=1 or CONFIG_CONSOLE_VGA=1.

Signed-off-by: Roman Kononov <kononov195-lbl@yahoo.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2587 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoTrivial patch:
Stefan Reinauer [Fri, 6 Apr 2007 12:14:51 +0000 (12:14 +0000)]
Trivial patch:

* Drop empty file (0 bytes) northbridge/amd/amdk8/cpu_rev.c
  and references to it.
* move config option decision to preprocessor instead of code
  since config options can not change during runtime
* slightly more verbose output in built_opt_tbl.c

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

17 years agoTrivial (cosmetic) cleanup:
Stefan Reinauer [Fri, 6 Apr 2007 11:58:03 +0000 (11:58 +0000)]
Trivial (cosmetic) cleanup:
* Only open /dev/mem once and do it early.
* Drop extern for function prototypes.
* Minimize ts5300 impact in probe_flash()

This cleanup will making ICH7 SPI support quite some easier.

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

17 years agoFix typo, add datasheet info, minor cosmetic fixes (trivial).
Uwe Hermann [Thu, 5 Apr 2007 19:58:29 +0000 (19:58 +0000)]
Fix typo, add datasheet info, minor 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@2584 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoCoding style and cosmetics (trivial).
Uwe Hermann [Thu, 5 Apr 2007 18:53:37 +0000 (18:53 +0000)]
Coding style and 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@2583 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd early serial support for the Fintek F81705F Super I/O.
Corey Osgood [Thu, 5 Apr 2007 18:48:21 +0000 (18:48 +0000)]
Add early serial support for the Fintek F81705F Super I/O.

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

17 years agoflashrom: split flash_enable.c into chipset_enable.c and board_enable.c
Luc Verhaegen [Wed, 4 Apr 2007 22:45:58 +0000 (22:45 +0000)]
flashrom: split flash_enable.c into chipset_enable.c and board_enable.c

This splits up the ROM Write enable code into chipset specific and
board specific parts. This of course means that a lot of code is
plainly moved about.

* Allows for linuxbios name matching and pci-subsystem id matching.
  The latter uses a double set to properly distuinguish boards despite
  of some known vendors being lax about it.
* Fixes GPIO15 being raised on every VT8235 southbridge, regardless of what
  that line actually controls; rom on EPIA-M, backlight on mitac 8999 laptop.
* Adds flashrom support for Asus A7V400-MX (KM400 + VT8235)
* Island aruma was renamed agami aruma, the board specific code now got
  adjusted. A set of pci-ids was retrieved from source code.

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

17 years agoAdd initial framework for the Tyan S1846.
Uwe Hermann [Tue, 3 Apr 2007 10:45:53 +0000 (10:45 +0000)]
Add initial framework for the Tyan S1846.

It's not fully working, among other things because the Intel
440BX northbridge isn't working, yet.

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

17 years agoThe *_early_serial.c pre-RAM code should do just that -- enable the serial
Uwe Hermann [Mon, 2 Apr 2007 16:57:32 +0000 (16:57 +0000)]
The *_early_serial.c pre-RAM code should do just that -- enable the serial
port(s), and nothing else. The code in superio.c will initialize the
rest when RAM is available...

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

17 years agoDrop useless and partly even incorrect comments (trivial).
Uwe Hermann [Sun, 1 Apr 2007 20:00:32 +0000 (20:00 +0000)]
Drop useless and partly even incorrect comments (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@2578 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoCoding style fixes (trivial).
Uwe Hermann [Sun, 1 Apr 2007 19:44:21 +0000 (19:44 +0000)]
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@2577 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoInitial Intel 440BX RAM initialization framework.
Uwe Hermann [Sun, 1 Apr 2007 17:24:03 +0000 (17:24 +0000)]
Initial Intel 440BX RAM initialization framework.

This does _not_ fully work, yet. You will _not_ be able to boot any
payload with this code, yet.

Add missing license headers.

Base the northbridge.c file on the Intel 855PM version, that comes
closer to what we want.

The raminit.c file is written from scratch and hardcodes several
values for now. This needs to be fixed later by reading the
correct values via SPD.

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

17 years agoFlashrom: Add support for the ICH7-DH southbridge (untested).
Uwe Hermann [Sat, 31 Mar 2007 19:48:38 +0000 (19:48 +0000)]
Flashrom: Add support for the ICH7-DH southbridge (untested).

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

17 years agoAdd support for the NSC PC87309 Super I/O.
Uwe Hermann [Sat, 31 Mar 2007 19:45:24 +0000 (19:45 +0000)]
Add support for the NSC PC87309 Super I/O.

Pre-RAM serial output on COM1 and COM2 has been tested. The rest is not
yet tested on real hardware.

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

17 years agoThis is a trivial cosmetic fix. Without it, the error message might look like:
Stefan Reinauer [Thu, 22 Mar 2007 14:51:45 +0000 (14:51 +0000)]
This is a trivial cosmetic fix. Without it, the error message might look like:
Image size doesnt match: Success

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

17 years agofix a stupid cut and paste error.
Stefan Reinauer [Tue, 20 Mar 2007 13:43:50 +0000 (13:43 +0000)]
fix a stupid cut and paste error.

This is pretty trivial, as it was correct in the original non-CAR code.
Suddently, CAR works nicely.

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

17 years agoAdd initial pre-RAM serial output support for the VIA VT82C686(A/B)
Corey Osgood [Sat, 17 Mar 2007 14:00:23 +0000 (14:00 +0000)]
Add initial pre-RAM serial output support for the VIA VT82C686(A/B)
southbridge (with integrated Super-I/O).

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

17 years agoThe attached patch adds additional PCI IDs for MCP55 LPC devices to
Ed Swierk [Tue, 6 Mar 2007 23:49:49 +0000 (23:49 +0000)]
The attached patch adds additional PCI IDs for MCP55 LPC devices to
flashrom. 0x0360 is needed to support the DFI LANParty NF590SLI, and I
am deducing the others based on pci_ids.h in the Linux kernel.

Signed-off-by: Ed Swierk <eswierk@arastra.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2570 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoDocument POST codes emitted by LinuxBIOSv2.
Uwe Hermann [Sat, 3 Mar 2007 15:01:29 +0000 (15:01 +0000)]
Document POST codes emitted by LinuxBIOSv2.

The list was created by Richard Smith <smithbone@gmail.com>, see
http://tracker.linuxbios.org/trac/LinuxBIOS/ticket/74.

It is probably not complete, yet.

(Closes #74)

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

17 years agoflashrom: Fix wrong VT8235 flash enable failed warning.
Luc Verhaegen [Fri, 2 Mar 2007 22:16:38 +0000 (22:16 +0000)]
flashrom: Fix wrong VT8235 flash enable failed warning.

* Fix harmless but worrying warning where the return value of
  pci_write_byte is misinterpreted.
* Hash together VT8231 and VT8235 code into VT823x. VT8231 is the better
  implementation, but lacked the write protect disable code that's
  apparently needed for VT8235.

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

17 years agoThis patch splits console.c into 3 different files to get a better
Carl-Daniel Hailfinger [Fri, 2 Mar 2007 14:21:09 +0000 (14:21 +0000)]
This patch splits console.c into 3 different files to get a better
overview of the code, facilitate future cleanups and reduce the
diff to Yinghai's tree at the same time.
No functional changes, only moving lines between files.
Copyright headers will be added later. Right now we benefit from
keeping the diff as small as possible.

Most of the work was done by Yinghai Lu.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
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@2567 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd missing it8716f_early_init.c file, which got lost in the commit of
Uwe Hermann [Fri, 2 Mar 2007 12:29:40 +0000 (12:29 +0000)]
Add missing it8716f_early_init.c file, which got lost in the commit of
http://www.openbios.org/pipermail/linuxbios/2007-February/018330.html
in revision 2559.

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

17 years agoAdd Winbond W39V080A support to Flashrom.
David Hendricks [Fri, 2 Mar 2007 02:25:36 +0000 (02:25 +0000)]
Add Winbond W39V080A support to Flashrom.

Signed-off-by: David Hendricks <david.hendricks@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@2565 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd support for the Gigabyte m57sli-s4 board to flashrom.
Ward Vandewege [Wed, 28 Feb 2007 21:50:15 +0000 (21:50 +0000)]
Add support for the Gigabyte m57sli-s4 board to flashrom.

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

17 years agoThis is (most of) the usb2 debug console code ripped out of
Yinghai Lu [Wed, 28 Feb 2007 11:17:02 +0000 (11:17 +0000)]
This is (most of) the usb2 debug console code ripped out of
Uwe's version of yh_rest_of_patch.patch (13.02.07 - [PATCH]
Rest of huge MCP55 patch).

I dropped a lot of stuff, like broken indenting, removed copyright messages,
and this printk_ram_* stuff (what the heck is this supposed to be)

This codebase is really a mess. Further tarball contributions without a
_CLEANED UP_ patch will be denied, especially if they are not from an up to
date svn tree.

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
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@2563 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd a note that the resulting LinuxBIOS images are licensed under the
Uwe Hermann [Tue, 27 Feb 2007 22:21:59 +0000 (22:21 +0000)]
Add a note that the resulting LinuxBIOS images are licensed under the
terms of the GPL, version 2 (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@2562 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis is another fixup round for Yinghai Lu's great patch.
Stefan Reinauer [Tue, 27 Feb 2007 14:11:18 +0000 (14:11 +0000)]
This is another fixup round for Yinghai Lu's great patch.

It does the ROM_STREAM -> PAYLOAD rename that afaik was done after
Yinghai sent his work to legal, so it is required to get that code
building.

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

17 years agoList more possible payloads in the README (trivial).
Uwe Hermann [Mon, 26 Feb 2007 13:52:42 +0000 (13:52 +0000)]
List more possible payloads in 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@2560 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoImprove ITE IT8716F support.
Yinghai Lu [Sat, 24 Feb 2007 17:39:11 +0000 (17:39 +0000)]
Improve ITE IT8716F support.

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Signed-off-by: Ed Swierk <eswierk@arastra.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2559 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoRemove unused defines.
Uwe Hermann [Sat, 24 Feb 2007 15:18:22 +0000 (15:18 +0000)]
Remove unused defines.

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

17 years agoFix some CHIP_NAME() entries to use canonical names.
Uwe Hermann [Mon, 19 Feb 2007 19:11:20 +0000 (19:11 +0000)]
Fix some CHIP_NAME() entries to use canonical names.

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