coreboot.git
14 years agoUse the coreboot pci config read/write functions instead of direct cf8/cfc
Marc Jones [Mon, 14 Sep 2009 17:00:04 +0000 (17:00 +0000)]
Use the coreboot pci config read/write functions instead of direct cf8/cfc
access. The fam10 pci functions will use mmio and do not have SMP pci access
issues.

Signed-off-by: Marc Jones <marcj303@gmail.com>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4633 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoIn the mainboard selection, the selected mainboard is printed twice in
Patrick Georgi [Mon, 14 Sep 2009 14:15:43 +0000 (14:15 +0000)]
In the mainboard selection, the selected mainboard is printed twice in
certain cases, this patch eliminates the second mention.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4632 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoBuild cbfstool with native data size. Trivial change.
Patrick Georgi [Mon, 14 Sep 2009 14:13:13 +0000 (14:13 +0000)]
Build cbfstool with native data size. Trivial change.

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

14 years agoNew cbfstool. Works without mmap or fork/exec and
Patrick Georgi [Mon, 14 Sep 2009 13:29:27 +0000 (13:29 +0000)]
New cbfstool. Works without mmap or fork/exec and
supports fixed location files. Some parts are salvaged
from the pre-commit version (esp. stage and payload creation),
others are completely rewritten (eg. the main loop that handles
file addition)

Also adapt newconfig (we don't need cbfs/tools anymore) and fix
some minor issues in the cbfstool-README.

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

14 years agofix compilation issues for pirq checker tool (trivial)
Stefan Reinauer [Thu, 10 Sep 2009 11:21:48 +0000 (11:21 +0000)]
fix compilation issues for pirq checker tool (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@4629 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix clean rules for the tex files.
Uwe Hermann [Fri, 4 Sep 2009 19:34:43 +0000 (19:34 +0000)]
Fix clean rules for the tex 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@4628 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix various build issues and errors in LinuxBIOS-AMD64.tex.
Uwe Hermann [Fri, 4 Sep 2009 19:25:51 +0000 (19:25 +0000)]
Fix various build issues and errors in LinuxBIOS-AMD64.tex.

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

14 years agoUse driver-y instead of obj-y for model_6xx_init.o.
Uwe Hermann [Fri, 4 Sep 2009 16:30:31 +0000 (16:30 +0000)]
Use driver-y instead of obj-y for model_6xx_init.o.

Otherwise booting (but not building) fails:

  Initializing CPU #0
  CPU: vendor Intel device 665
  CPU: family 06, model 06, stepping 05
  Unknown cpu

This patch was tested to fix the issue on MSI MS-6178.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4626 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAs more users of Asus M2V-MX SE emerged. Here is long pending patch I wanted to
Rudolf Marek [Tue, 1 Sep 2009 15:29:12 +0000 (15:29 +0000)]
As more users of Asus M2V-MX SE emerged. Here is long pending patch I wanted to
write. It boots the SB/NB V-link performance to full duplex 533MB/s. (in fact x2
for FDX)

The default was 266MB/s but half duplex only. If you encourage any stability
issues we need to look into fine tuning the bus. The values are VIA recommended.

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

14 years agoport msrtool to darwin.
Stefan Reinauer [Tue, 1 Sep 2009 10:03:01 +0000 (10:03 +0000)]
port msrtool to darwin.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
with minor changes to allow 32bit and 64bit compilation and (I hope), Peter's
concerns addressed.

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

14 years ago* Add OSX/Darwin support
Stefan Reinauer [Tue, 1 Sep 2009 09:57:55 +0000 (09:57 +0000)]
* Add OSX/Darwin support
* Add DESTDIR support

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

14 years agonvramtool:
Stefan Reinauer [Tue, 1 Sep 2009 09:54:21 +0000 (09:54 +0000)]
nvramtool:

* Add OSX/Darwin support
* Add $DESTDIR support
* Clean up make install/spec

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

14 years agoClean up Mac OS X support of inteltool
Stefan Reinauer [Tue, 1 Sep 2009 09:52:14 +0000 (09:52 +0000)]
Clean up Mac OS X support of inteltool

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
Some minor modifications to allow 64bit/32bit compilation on Darwin

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

14 years agoadd i810 and ich0
Stefan Reinauer [Sat, 29 Aug 2009 15:45:43 +0000 (15:45 +0000)]
add i810 and ich0

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

14 years agoFile I missed committing.
Ronald G. Minnich [Sat, 29 Aug 2009 03:00:51 +0000 (03:00 +0000)]
File I missed committing.

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

14 years agoThis is the final set of changes to allow rumba to build. Rumba is not
Ronald G. Minnich [Sat, 29 Aug 2009 02:59:35 +0000 (02:59 +0000)]
This is the final set of changes to allow rumba to build. Rumba is not
tested. I also addressed questions raised by Uwe:
TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
UDELAY_TSC

Are now defined as booleans in src/cpu/x86/Kconfig and can be selected in
the mainboard Kconfig. The remaining question of Uwe's is a deeper
problem:

---
We'll have to check if this works. From a quick glance
the Rumba does not have the mmx related lines (which _are_ in
Makefile.romccboard.inc, though):

crt0-y += ../../../../src/cpu/x86/fpu/enable_fpu.inc
crt0-y += ../../../../src/cpu/x86/mmx/enable_mmx.inc
crt0-y += auto.inc
crt0-y += ../../../../src/cpu/x86/mmx/disable_mmx.inc
---

We're going to need a whole variant of this standard mainboard OR
we're going to have to make (some) of the unconditional includes above
conditional.

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

14 years agoSet the mainboard/amd directory up to support more than one.
Ronald G. Minnich [Sat, 29 Aug 2009 02:47:57 +0000 (02:47 +0000)]
Set the mainboard/amd directory up to support more than one.

remove Config variables now defined elsewhere.
add rumba Kconfig and Makefile.inc

rumba won't build until my earlier patches are acked.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4617 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFixes per Uwe's comments.
Ronald G. Minnich [Sat, 29 Aug 2009 02:44:08 +0000 (02:44 +0000)]
Fixes per Uwe's comments.

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

14 years agoThis patch adds VGA and PS/2 Keyboard/mouse support to the already existing intel...
Arnaud Maye [Fri, 28 Aug 2009 20:42:21 +0000 (20:42 +0000)]
This patch adds VGA and PS/2 Keyboard/mouse support to the already existing intel truxton (ep80579) dev board.
This patch tries to improve the pcie portA configuration.
The Matrox G550e PCIe gfx card shipped along with the dev board is supported.

Signed-off-by: Arnaud Maye <arnaud.maye@4dsp.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4615 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agor4534 introduced devicetree.cb in every mainboard directory, but didn't
Carl-Daniel Hailfinger [Fri, 28 Aug 2009 19:00:59 +0000 (19:00 +0000)]
r4534 introduced devicetree.cb in every mainboard directory, but didn't
copy any comment lines before the start of the device tree.
Copy over the comments for amd/dbm690t.

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

14 years agoAdd kconfig support for all Intel 82810 (i810) boards.
Uwe Hermann [Fri, 28 Aug 2009 16:38:42 +0000 (16:38 +0000)]
Add kconfig support for all Intel 82810 (i810) boards.

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

14 years agokconfig: Board name variable fixes and updates (trivial).
Uwe Hermann [Fri, 28 Aug 2009 15:22:31 +0000 (15:22 +0000)]
kconfig: Board name variable fixes and updates (trivial).

 - Use alphabetical order.
 - Drop non-exisiting vendors.
 - Add missing vendors (Mitac, Soyo, Technologic, TeleVideo).

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

14 years agoThis is the beginning of support for Geode and Kconfig in v2.
Ronald G. Minnich [Fri, 28 Aug 2009 14:46:59 +0000 (14:46 +0000)]
This is the beginning of support for Geode and Kconfig in v2.

It also brings in the vsm from v3, which was a much cleaner cut.

Over time, I hope to bring all the code back from v3. I have
some rumbas at home and want to use them.

I have a patch which comes in next that makes the rumba build.

Note that I am holding the src/*/amd/Kconfig patch until these get merged.
These have no impact on the current system.

Note that this is not complete but I want to fill in the blanks bit
by bit.

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

14 years agoMove DCACHE support into the cpu family for AMD model_fxx.
Myles Watson [Fri, 28 Aug 2009 14:40:04 +0000 (14:40 +0000)]
Move DCACHE support into the cpu family for AMD model_fxx.

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

14 years agoAdd Kconfig support for PCI option ROMS.
Myles Watson [Fri, 28 Aug 2009 14:36:12 +0000 (14:36 +0000)]
Add Kconfig support for PCI option ROMS.

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

14 years agoMove some config variables that are in one or two mainboards to
Ronald G. Minnich [Fri, 28 Aug 2009 14:23:38 +0000 (14:23 +0000)]
Move some config variables that are in one or two mainboards to
more rational places. The goal is to reduce the number of Config
variables defined in mainboard Kconfig files to the absolute minimum.

This has the side effect of making SERIAL_POST a menu item, which is nice.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4608 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoSilence unneeded #warnings, change to code comments (trіvial).
Uwe Hermann [Fri, 28 Aug 2009 13:42:24 +0000 (13:42 +0000)]
Silence unneeded #warnings, change to code comments (trіvial).

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

14 years agoThe resource allocator complained about 0-sized fixed
Patrick Georgi [Fri, 28 Aug 2009 12:48:02 +0000 (12:48 +0000)]
The resource allocator complained about 0-sized fixed
resources before actually validating if the resource is
a fixed one.

No harm done, except some confusion of the user (in this case: me).

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

14 years agoFix broken compilation. As CBFS is now enabled by default,
Arnaud Maye [Fri, 28 Aug 2009 10:17:03 +0000 (10:17 +0000)]
Fix broken compilation. As CBFS is now enabled by default,
CONFIG_FALLBACK_SIZE should be equal to CONFIG_ROM_IMAGE_SIZE and not
CONFIG_ROM_SIZE

Signed-off-by: Arnaud Maye <arnaud.maye@4dsp.com>
Acked-by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4605 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoCorrect typos /SMCSC/SMSC/ in Kconfig.
Myles Watson [Thu, 27 Aug 2009 22:41:56 +0000 (22:41 +0000)]
Correct typos /SMCSC/SMSC/ in Kconfig.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4604 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFor Carl-Daniel: make x86emu silent again.
Stefan Reinauer [Thu, 27 Aug 2009 22:36:13 +0000 (22:36 +0000)]
For Carl-Daniel: make x86emu silent again.

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

14 years agoAdded support for the AMD S1G1 socket in kconfig
Cristi Magherusan [Thu, 27 Aug 2009 22:19:23 +0000 (22:19 +0000)]
Added support for the AMD S1G1 socket in kconfig

Signed-off-by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4602 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdded support for the AMD RS690 and SB600 southbridges in Kconfig
Cristi Măgherușan [Thu, 27 Aug 2009 21:39:20 +0000 (21:39 +0000)]
Added support for the AMD RS690 and SB600 southbridges in Kconfig

Signed-off-by: Cristi Măgherușan <cristi.magherusan@net.utcluj.ro>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4601 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoChange some more image names to "fallback" (not "image").
Uwe Hermann [Thu, 27 Aug 2009 14:22:56 +0000 (14:22 +0000)]
Change some more image names to "fallback" (not "image").

Also, if there's only one image, it should be named "fallback", not "normal".

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

14 years agoRevert test for pre-commit hook functionality. Commits are now checked for proper
Patrick Georgi [Thu, 27 Aug 2009 13:14:09 +0000 (13:14 +0000)]
Revert test for pre-commit hook functionality. Commits are now checked for proper
sign off again. This is trivial, of course.

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

14 years agotest
Patrick Georgi [Thu, 27 Aug 2009 13:07:40 +0000 (13:07 +0000)]
test

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

14 years agoAnother trivial patch to fix up the x86emu cleanup.
Patrick Georgi [Thu, 27 Aug 2009 13:02:28 +0000 (13:02 +0000)]
Another trivial patch to fix up the x86emu cleanup.

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

14 years agoClean up some DCACHE related options.
Patrick Georgi [Thu, 27 Aug 2009 12:10:50 +0000 (12:10 +0000)]
Clean up some DCACHE related options.
In amd/serengeti_cheetah there were duplicates, and USE_DCACHE_RAM is a
boolean value, so make it so.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4596 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoClean up the kontron Kconfig
Patrick Georgi [Thu, 27 Aug 2009 12:10:05 +0000 (12:10 +0000)]
Clean up the kontron Kconfig

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4595 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agocoreboot was still using an old set (obsolete since yabel) of x86emu includes
Stefan Reinauer [Thu, 27 Aug 2009 11:34:09 +0000 (11:34 +0000)]
coreboot was still using an old set (obsolete since yabel) of x86emu includes
instead of the versions in util/x86emu. Clean up this mess.

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

14 years agoMake all those locally used functions static instead of exporting them. (triv)
Stefan Reinauer [Thu, 27 Aug 2009 11:23:06 +0000 (11:23 +0000)]
Make all those locally used functions static instead of exporting them. (triv)

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

14 years agoRename "image" image to "fallback", so CBFS can find it.
Patrick Georgi [Thu, 27 Aug 2009 07:42:45 +0000 (07:42 +0000)]
Rename "image" image to "fallback", so CBFS can find it.
Thanks to Carl-Daniel for finding this.

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

14 years agoThe new resource allocator helped me find a bug in SB600 diagnostics.
Carl-Daniel Hailfinger [Thu, 27 Aug 2009 04:30:47 +0000 (04:30 +0000)]
The new resource allocator helped me find a bug in SB600 diagnostics.
The SB600 SATA code printed that two BARs had the same address because
it didn't mask the correct number of bits in the BAR.
Functionality was not affected, but the debug output was incorrect.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Zheng Bao <zheng.bao@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4591 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoamd/pistachio: fallback image must be called fallback.
Carl-Daniel Hailfinger [Thu, 27 Aug 2009 02:47:35 +0000 (02:47 +0000)]
amd/pistachio: fallback image must be called fallback.

Thanks to Stefan for providing the original fix for amd/dbm690t

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

14 years agofallback image must be called fallback.
Stefan Reinauer [Thu, 27 Aug 2009 01:47:41 +0000 (01:47 +0000)]
fallback image must be called fallback.

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

14 years agoRemove a couple of CONFIG_ prefixes that shouldn't have happened.
Patrick Georgi [Wed, 26 Aug 2009 18:14:30 +0000 (18:14 +0000)]
Remove a couple of CONFIG_ prefixes that shouldn't have happened.

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

14 years agoAdd kconfig support for all missing Intel 440BX based boards.
Uwe Hermann [Wed, 26 Aug 2009 17:10:00 +0000 (17:10 +0000)]
Add kconfig support for all missing Intel 440BX based boards.

This includes:

soyo/sy-6ba-plus-iii
a-trend/atc-6240
a-trend/atc-6220
gigabyte/ga-6bxc
biostar/m6tba
azza/pt-6ibd
tyan/s1846
abit/be6-ii_v2_0
compaq/deskpro_en_sff_p600msi/ms6119
msi/ms6147
asus/p2b
asus/p2b-d
asus/p2b-ds
asus/p3b-f

The Makefile.inc for all of them are _exactly_ the same, so I made a common
src/mainboard/Makefile.romccboard.inc (maybe needs a nicer name). I also suspect
that many other romcc-based boards will be able to re-use this Makefile.inc.

Apart from the board name, most boards only differ in the Super I/O that's
being used and the IRQ_SLOT_COUNT value. The Tyan S1846 is a bit different
as it doesn't have an irq_tables.c.

I also dropped the broken MS-6178 kconfig stuff for now, I'll submit a
proper config in another patch.

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

14 years agoAsus M2V-MX-SE support in Kbuild
Cristi Magherusan [Wed, 26 Aug 2009 16:55:06 +0000 (16:55 +0000)]
Asus M2V-MX-SE support in Kbuild

Signed-off-by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4586 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoEnable Direct TMDS for the RS690, which allows to display on HDMI and DVI
Libra Li [Wed, 26 Aug 2009 16:04:47 +0000 (16:04 +0000)]
Enable Direct TMDS for the RS690, which allows to display on HDMI and DVI
monitors.

Signed-off-by: Libra Li <libra.li@technexion.com>
Acked-by: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4585 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoSet the LIBGCC_FILE_NAME to fix problems with libgcc.a.
Harald Gutmann [Wed, 26 Aug 2009 15:35:36 +0000 (15:35 +0000)]
Set the LIBGCC_FILE_NAME to fix problems with libgcc.a.

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

14 years agoFix vendor name config variables to match company name (trivial).
Uwe Hermann [Wed, 26 Aug 2009 14:11:48 +0000 (14:11 +0000)]
Fix vendor name config variables to match company name (trivial).

Any whitespace or dashes are replaced with underscores.

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

14 years agoCorrect typos /subdir/subdirs/ in documentation and util/x86emu/Makefile.inc.
Myles Watson [Tue, 25 Aug 2009 19:46:50 +0000 (19:46 +0000)]
Correct typos /subdir/subdirs/ in documentation and util/x86emu/Makefile.inc.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4582 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoUse the gnu make .SILENT: mechanism instead of requiring
Patrick Georgi [Tue, 25 Aug 2009 19:38:46 +0000 (19:38 +0000)]
Use the gnu make .SILENT: mechanism instead of requiring
$(Q) in front of every silent line.

make V=1 or make Q="" still make make noisy again.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4581 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMake PCI_ROM_RUN a boolean (like it is elsewhere) which
Patrick Georgi [Tue, 25 Aug 2009 17:38:24 +0000 (17:38 +0000)]
Make PCI_ROM_RUN a boolean (like it is elsewhere) which
is the correct choice. Avoids type problems in kconfig

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4580 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd microcode to socket_940 and socket_F. Part of the last reverting commit.
Myles Watson [Tue, 25 Aug 2009 16:18:11 +0000 (16:18 +0000)]
Add microcode to socket_940 and socket_F.  Part of the last reverting commit.

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

14 years agoRevert socket abstraction.
Myles Watson [Tue, 25 Aug 2009 16:04:45 +0000 (16:04 +0000)]
Revert socket abstraction.

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

14 years agoImprove build output.
Uwe Hermann [Tue, 25 Aug 2009 15:03:20 +0000 (15:03 +0000)]
Improve build output.

The Makefile prints need to be @printf -- not $(Q)printf -- as they should

 (1) be printed always (with 'make' _and_ with 'make V=1'),

 (2) but the printf command itself should not be printed, hence the '@'.

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

14 years agoReplace PIRQ_TABLE with HAVE_PIRQ_TABLE, the former doesn't exist.
Uwe Hermann [Tue, 25 Aug 2009 14:51:25 +0000 (14:51 +0000)]
Replace PIRQ_TABLE with HAVE_PIRQ_TABLE, the former doesn't exist.

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

14 years agoAdd vendor strings in mainboard/Kconfig. Trivial.
Myles Watson [Tue, 25 Aug 2009 14:41:38 +0000 (14:41 +0000)]
Add vendor strings in mainboard/Kconfig.  Trivial.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4575 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd support for AMD Socket 940. Move common files to model_fxx.
Myles Watson [Tue, 25 Aug 2009 14:22:58 +0000 (14:22 +0000)]
Add support for AMD Socket 940.  Move common files to model_fxx.

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

14 years agoProperly check for the LZMA compression variable, and fix a print
Patrick Georgi [Tue, 25 Aug 2009 13:53:14 +0000 (13:53 +0000)]
Properly check for the LZMA compression variable, and fix a print
message for the VGA ROM that would print a useless NULL string.

Signed-off by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4573 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd kconfig support for ASUS P2B-F.
Uwe Hermann [Tue, 25 Aug 2009 12:25:36 +0000 (12:25 +0000)]
Add kconfig support for ASUS P2B-F.

Only build-tested so far, not tested on 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@4572 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix copy-paste error in src/cpu/x86/Kconfig.
Uwe Hermann [Tue, 25 Aug 2009 12:19:28 +0000 (12:19 +0000)]
Fix copy-paste error in src/cpu/x86/Kconfig.

That file defines XIP_ROM_BASE twice, but the latter definition should
be XIP_ROM_SIZE (not *_BASE).

These exact two definitions are listed in src/Kconfig already, though,
so maybe one of the two locations should remove 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@4571 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoOnly build option_table.o if CONFIG_HAVE_OPTION_TABLE is 'y'.
Uwe Hermann [Tue, 25 Aug 2009 12:18:05 +0000 (12:18 +0000)]
Only build option_table.o if CONFIG_HAVE_OPTION_TABLE is 'y'.
Not all boards have an option table (cmos.layout).

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

14 years agoWithout this patch, if we only got a DIMM in Channel B, memory can not be
Zheng Bao [Tue, 25 Aug 2009 04:12:55 +0000 (04:12 +0000)]
Without this patch, if we only got a DIMM in Channel B, memory can not be
set up correctly. Now it can. Please test it.

Moving "mct_AfterGetCLT(pMCTstat, pDCTstat, dct);" out of the "if" is the
key point.
Changing the Get_DIMMAddress_D(pDCTstat, i) to Get_DIMMAddress_D(pDCTstat, dct + i)
doesnt seem to take any effect. But I believe this is what it should be.

And a duplicated semicolon is removed.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4569 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoRemove pretty useless kconfig help strings, fix some vendor names (trivial).
Uwe Hermann [Tue, 25 Aug 2009 01:06:39 +0000 (01:06 +0000)]
Remove pretty useless kconfig help strings, fix some vendor names (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@4568 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoVarious Kconfig and Makefile.inc fixes and cosmetics.
Uwe Hermann [Tue, 25 Aug 2009 00:53:22 +0000 (00:53 +0000)]
Various Kconfig and Makefile.inc fixes and cosmetics.

 - Whitespace fixes, remove trailing whitespace, use TABs for identation
   (except in Kconfig "help" lines, which start with one TAB and two spaces
   as per Linux kernel style)

 - Kconfig: Standardize on 'bool' (not 'boolean').

 - s/lar/cbfs/ in one Kconfig help string.

 - Reword various Kconfig menu entries for a more usable and consistent menu.

 - Fix incorrect comment of NO_RUN in devices/Kconfig.

 - superio/serverengines/Kconfig: Incorrect config name.

 - superio/Makefile.inc: s/serverengine/serverengines/.

 - superio/intel/Kconfig: s/SUPERIO_FINTEK_I3100/SUPERIO_INTEL_I3100/.

 - mainboard/via/vt8454c/Kconfig: Fix copy-paste error in help string.

 - mainboard/via/epia-n/Kconfig: Fix "bool" menu text.

 - console/Kconfig: Don't mention defaults in the menu string, kconfig
   already displays them anyway.

 - Kill "Drivers" menu for now, it only confuses users as long as it's emtpy.

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

14 years agoAdd support for Nvidia Southbridges to Kconfig.
Myles Watson [Mon, 24 Aug 2009 18:36:02 +0000 (18:36 +0000)]
Add support for Nvidia Southbridges to Kconfig.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Harald Gutmann <harald.gutmann@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4566 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd support for AM2 CPUs (I fixed the 0x11 issue).
Myles Watson [Mon, 24 Aug 2009 16:51:27 +0000 (16:51 +0000)]
Add support for AM2 CPUs (I fixed the 0x11 issue).

Signed-off by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4565 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoThe variable is already checked when including the socketF subdirectory.
Myles Watson [Mon, 24 Aug 2009 16:21:12 +0000 (16:21 +0000)]
The variable is already checked when including the socketF subdirectory.

Signed-off by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4564 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoUpdate Coreinfo to use TAG_FORWARD in tables.
Myles Watson [Mon, 24 Aug 2009 15:25:11 +0000 (15:25 +0000)]
Update Coreinfo to use TAG_FORWARD in tables.
Update the ramdump function cursor functions and make the address hex
instead of decimal

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

14 years agoThis patch is about the DA-C2 and RB-C2. Chip with install processor
Zheng Bao [Mon, 24 Aug 2009 06:30:37 +0000 (06:30 +0000)]
This patch is about the DA-C2 and RB-C2. Chip with install processor
Revision ID of 0x100F62 is DA-C2, instead of RB-C2 which was incorrectly
defined in raminit_amdmct.c. RB-C2's ID is 0x100F42. The Erratas applied to
them are almost the same.

Issues:
1. I really dont know what their nicknames are (Shanghai C2 or something).
2. About the mc_patch_01000086.h, I dont know if it is allowed to be released.
   If you really need it, please contact AMD Inc to see if it is public.
3. My RB-C2 is Socket type AM3, which needs DDR3 support. Probably your RB-C2
   doesnt need DDR3. If it does and you really need it, please contack AMD Inc
   to see if it is allowed to release DDR3 code.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Ward Vandewege <ward@gnu.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4562 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoChange the intel cpu makefile.inc so that it fits the model better.
Ronald G. Minnich [Fri, 21 Aug 2009 18:08:49 +0000 (18:08 +0000)]
Change the intel cpu makefile.inc so that it fits the model better.
- intel/Makefile.inc only mentions sockets
- those sockets are conditionally included
- makefile.inc in socket directories are almost all unconditionally included
- Get rid of if where possible, use -$(CONFIG_VARIABLE) instead as per Kconfig
  standards in linux kernel

See the Kconfig.tex documentation for questions.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4561 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoTrivial spelling corrections.
Myles Watson [Fri, 21 Aug 2009 14:59:14 +0000 (14:59 +0000)]
Trivial spelling corrections.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4560 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoThis goes a surprisingly long way to building the epia-n. It also has
Ronald G. Minnich [Thu, 20 Aug 2009 18:05:31 +0000 (18:05 +0000)]
This goes a surprisingly long way to building the epia-n. It also has
important corrections to the Kconfig and Makefile.inc that were there. I
would like to go ahead and get this in, because I don't want anyone to
continue using what is in the upstream tree as it now exists.
I also tested old-style build with this and it did not break anything.

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

14 years ago20090819-2-trim-down-cbfs:
Patrick Georgi [Thu, 20 Aug 2009 14:48:03 +0000 (14:48 +0000)]
20090819-2-trim-down-cbfs:
CBFS uses sprintf, which requires vtxprintf, which requires (in the
current design) a nested function. That works on x86, but on PPC this
requires a trampoline. In the ROM stage, this is not available, so
remove the single use of sprintf and replace it with a direct string
handler - it's only used to fill in fixed-length hex values.

20090819-3-more-noreturns-in-romcc:
Mark two more functions in romcc as noreturn. Helps clang's scan-build a
bit

20090819-4-cbfsify-ppc:
Make PPC use CBFS. Support big endian ELF in cbfs-mkstage. Untested and
not complete yet.

20090819-5-fix-ppc-build:
The CBFS build system requires ROM_IMAGE_SIZE to have a somewhat
plausible value.

With fixes to tohex* functions as discussed on the list, and correct
function names.

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

14 years agoAdd an error message if there is a zero-sized fixed resource. Fix the existing
Myles Watson [Wed, 19 Aug 2009 19:12:39 +0000 (19:12 +0000)]
Add an error message if there is a zero-sized fixed resource.  Fix the existing
example of one.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4557 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoDon't let zero sized fixed resource mess up the allocator's memory map.
Patrick Georgi [Wed, 19 Aug 2009 17:29:41 +0000 (17:29 +0000)]
Don't let zero sized fixed resource mess up the allocator's memory map.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4556 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoConfig-abuild.lb doesn't need to override ROM_IMAGE_SIZE.
Patrick Georgi [Wed, 19 Aug 2009 14:08:42 +0000 (14:08 +0000)]
Config-abuild.lb doesn't need to override ROM_IMAGE_SIZE.
Trivial change

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

14 years agoReduce size of the romstage on various boards that fail to build on QA.
Patrick Georgi [Wed, 19 Aug 2009 13:40:20 +0000 (13:40 +0000)]
Reduce size of the romstage on various boards that fail to build on QA.
This eliminates 56kb of padding in the bootblock.

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

14 years agoThe Errata350 is "Write 0000_8000h to register F2x[1, 0]9C_xD080F0C.", instead of
Zheng Bao [Wed, 19 Aug 2009 07:08:10 +0000 (07:08 +0000)]
The Errata350 is "Write 0000_8000h to register F2x[1, 0]9C_xD080F0C.", instead of
F2x[1, 0]9C_x0C. It is a obvious bug. Some typos are also fixed.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4553 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoCorrect usage of Makefile.inc and add support for cn400
Ronald G. Minnich [Tue, 18 Aug 2009 17:15:39 +0000 (17:15 +0000)]
Correct usage of Makefile.inc and add support for cn400
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@4552 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd via south support. Correct usage of conditional variables.
Ronald G. Minnich [Tue, 18 Aug 2009 17:14:58 +0000 (17:14 +0000)]
Add via south support. Correct usage of conditional variables.
Note the makefile.inc may be out of date given the new commits of code
today, but this is what was signed off ...

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

14 years agoAdd the rest of the files.
Jon Harrison [Tue, 18 Aug 2009 15:12:13 +0000 (15:12 +0000)]
Add the rest of the files.

Thanks Jon.

Signed-off-by: Jon Harrison <bothlyn@blueyonder.co.uk>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4550 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoGet the Via EPIA-N(L)/CN400 to a reasonable level of maturity::
Jon Harrison [Mon, 17 Aug 2009 17:09:46 +0000 (17:09 +0000)]
Get the Via EPIA-N(L)/CN400 to a reasonable level of maturity::

Tested on Via EPIA-NL8000EG with FILO payload booting FC9 (2.6.25
kernel) from SATA HDD.

ACPI is working for PCI interrupt routing, some memory stuff and
Soft-Off.
USB/SATA Working
VGA Console Working
X Working via Onboard AGP

Removed dsdt.c, fixed some whitespace.

Signed-off-by: Jon Harrison <bothlyn@blueyonder.co.uk>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4549 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd more docs, this time for southbridge.
Ronald G. Minnich [Mon, 17 Aug 2009 15:42:18 +0000 (15:42 +0000)]
Add more docs, this time for southbridge.
No real difference from northbridge.

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

14 years agoMove CBFS header to a safer place.
Thomas Jourdan [Mon, 17 Aug 2009 15:19:52 +0000 (15:19 +0000)]
Move CBFS header to a safer place.

Signed-off-by: Thomas Jourdan <thomas.jourdan@gmail.com>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4547 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoRemove unused normal image option in Kconfig
Cristi Magherusan [Mon, 17 Aug 2009 14:47:32 +0000 (14:47 +0000)]
Remove unused normal image option in Kconfig

Signed-off-by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4546 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAllow setting up a VGABIOS image in Kconfig
Cristi Magherusan [Mon, 17 Aug 2009 14:46:13 +0000 (14:46 +0000)]
Allow setting up a VGABIOS image in Kconfig

Signed-off-by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4545 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd 4MB ROM image size to Kconfig
Cristi Magherusan [Mon, 17 Aug 2009 14:33:03 +0000 (14:33 +0000)]
Add 4MB ROM image size to Kconfig

Signed-off-by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4544 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMost of the changes here are trivial, but the white space changes would be harder...
Myles Watson [Thu, 13 Aug 2009 16:02:24 +0000 (16:02 +0000)]
Most of the changes here are trivial, but the white space changes would be harder to undo than to do over.

I changed all groups of 8 spaces to tabs, then all tabs to two spaces so more of the device tree fits on the page.  It could have been three or possibly four, but the largest indents I found were 6 tabs, so 4 is a lot of the space on the page.

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

14 years ago- AMD selected a couple of options that are incompatible with QEmu (and
Patrick Georgi [Thu, 13 Aug 2009 15:29:01 +0000 (15:29 +0000)]
- AMD selected a couple of options that are incompatible with QEmu (and
probably others). Only select them for AMD

- Make the bootblock smaller (only one copy of it), and don't pad the
bootblock using dd(1), but top-align inside cbfstool, to reduce
dependencies on unix tools.

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

14 years agoFix some conflicting types of variables
Patrick Georgi [Thu, 13 Aug 2009 07:33:55 +0000 (07:33 +0000)]
Fix some conflicting types of variables
Remove the normal/* files from the image. they're just
copies of fallback/* anyway.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4541 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years ago\\ are not escaped in a sane way between fedora and ubuntu! Just create
Ronald G. Minnich [Wed, 12 Aug 2009 20:25:24 +0000 (20:25 +0000)]
\\ are not escaped in a sane way between fedora and ubuntu! Just create
these files to make sure that we don't get idiotic problems.

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

14 years agoRemove duplicate file, adjust Makefile to use the original copy.
Patrick Georgi [Wed, 12 Aug 2009 17:16:05 +0000 (17:16 +0000)]
Remove duplicate file, adjust Makefile to use the original copy.
Keeping identical files around will only bite us eventually, when they
get out of sync. See coreboot-v2 history for examples.

Trivial and build tested.

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

14 years agodrop extra whitespace at end of line for i945 + ICH7 (trivial)
Stefan Reinauer [Wed, 12 Aug 2009 16:08:05 +0000 (16:08 +0000)]
drop extra whitespace at end of line for i945 + ICH7 (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@4538 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoThis now builds.
Ronald G. Minnich [Wed, 12 Aug 2009 15:56:17 +0000 (15:56 +0000)]
This now builds.

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

14 years agoFix multiple missing files and errors from the recent commit. This happened
Ronald G. Minnich [Wed, 12 Aug 2009 15:39:38 +0000 (15:39 +0000)]
Fix multiple missing files and errors from the recent commit. This happened
when Patrick's tree and mine got out of sync.

Link stage still fails.

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

14 years agoMissing files from last patch.
Ronald G. Minnich [Wed, 12 Aug 2009 15:26:31 +0000 (15:26 +0000)]
Missing files from last patch.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4535 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoKconfig!
Patrick Georgi [Wed, 12 Aug 2009 15:00:51 +0000 (15:00 +0000)]
Kconfig!
Works on Kontron, qemu, and serengeti.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
tested on abuild only.

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