coreboot.git
14 years agosrc/Kconfig: Remove HT-specific options.
Myles Watson [Tue, 22 Sep 2009 21:29:32 +0000 (21:29 +0000)]
src/Kconfig: Remove HT-specific options.
src/cpu/amd/socket_F/Kconfig: Remove second occurrence of CPU_SOCKET_TYPE.
src/mainboard/amd/serengeti_cheetah/Kconfig: Add HT_CHAIN_UNITID_BASE here, since it is board specific.
src/mainboard/tyan/s289X/Kconfig: Fix typo and change APIC_ID_OFFSET to match old config.
src/devices/Kconfig: Change default value of *_PLUGIN_SUPPORT to match old config.
src/southbridge/amd/amd8131/Makefile.inc: Remove check since it was a typo, and the correct variable is checked in the parent directory.
src/Makefile:Use devicetree.cb instead of Config.lb to generate static.c.

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

14 years agofailoverR.diff: Revert my failover change since Kconfig only supports fallback.
Myles Watson [Tue, 22 Sep 2009 18:53:50 +0000 (18:53 +0000)]
failoverR.diff: Revert my failover change since Kconfig only supports fallback.
kconfig_s2892.dif: Add support for Tyan s2891, s2892, and s2895 to Kconfig.

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

14 years agotables.diff: Add Kconfig dialogues for ACPI, MP_TABLE, ...
Myles Watson [Tue, 22 Sep 2009 18:49:08 +0000 (18:49 +0000)]
tables.diff: Add Kconfig dialogues for ACPI, MP_TABLE, ...
Kconfig_bools.diff: Change some more ints to bools, change some default values.
xip_size.diff: Make XIP_SIZE + XIP_BASE add up to 4GB.
smp.diff: set CONFIG_SMP based on MAX_CPUS.

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

14 years agoThis separates the code for each command in cbfstool. For the good and for the
Stefan Reinauer [Tue, 22 Sep 2009 15:58:19 +0000 (15:58 +0000)]
This separates the code for each command in cbfstool. For the good and for the
bad: It brings a certain amount of code duplication (some of which can be
cleaned up again, or get rid of by proper refactoring).
On the other hand now there's a very simple code flow for each command, rather
than for each operation. ie.

adding a file to a cbfs means:
 - open the cbfs
 - add the file
 - close the cbfs

rather than

open the cbfs:
 - do this for add, remove, but not for create

create a new lar
 - if we don't have an open one yet

add a file:
 - if we didn't bail out before

close the file:
 - if we didn't bail out before

The short term benefit is that this fixes a problem where cbfstool was trying
to add a file if you gave a non-existing command because it bailed out on
known, not on unknown commands.

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

14 years ago* guard all mallocs in cbfstool
Stefan Reinauer [Tue, 22 Sep 2009 15:55:01 +0000 (15:55 +0000)]
* guard all mallocs in cbfstool
* fix an issue that could lead to cbfstool writing outside of its allocated
  memory

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

14 years ago.. make abuild Kconfig proof for the time being.
Stefan Reinauer [Tue, 22 Sep 2009 15:53:54 +0000 (15:53 +0000)]
.. make abuild Kconfig proof for the time being.

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

14 years agoback out some overzealous renames
Stefan Reinauer [Tue, 22 Sep 2009 15:53:02 +0000 (15:53 +0000)]
back out some overzealous renames

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

14 years agoKill dead comment.
Carl-Daniel Hailfinger [Tue, 22 Sep 2009 12:31:57 +0000 (12:31 +0000)]
Kill dead comment.

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

14 years agoHelp text for maximum and default console loglevel in Kconfig.
Carl-Daniel Hailfinger [Tue, 22 Sep 2009 12:22:35 +0000 (12:22 +0000)]
Help text for maximum and default console loglevel in Kconfig.

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

14 years agor4534 introduced devicetree.cb in every mainboard directory, but didn't
Carl-Daniel Hailfinger [Tue, 22 Sep 2009 10:03:15 +0000 (10:03 +0000)]
r4534 introduced devicetree.cb in every mainboard directory, but didn't
copy any comment lines before the start of the device tree.
Fix up amd/pistachio and technexion/tim8960.

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

14 years agor4646 enabled early usage of pci_{read,write}_config{8,16,32}
Carl-Daniel Hailfinger [Tue, 22 Sep 2009 09:43:25 +0000 (09:43 +0000)]
r4646 enabled early usage of pci_{read,write}_config{8,16,32}

This allows us to change
dword = pci_cf8_conf1.read32(&pbus, sm_dev->bus->secondary,
        sm_dev->path.pci.devfn, 0x64);

to the much more readable
dword = pci_read_config32(sm_dev, 0x64);

Clean up all PCI operations in mainboards based on AMD 690:
amd/pistachio
amd/dbm690t
technexion/tim8690

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

14 years agoIf no pci access method has been set for the device tree so far (e.g.
Carl-Daniel Hailfinger [Tue, 22 Sep 2009 00:09:41 +0000 (00:09 +0000)]
If no pci access method has been set for the device tree so far (e.g.
during early coreboot_ram), pci_{read,write}_config{8,16,32} will die().
This patch changes pci_{read,write}_config{8,16,32} to use the existing
PCI access method autodetection infrastructure instead of die()ing.

Until r4340, any usage of pci_{read,write}_config{8,16,32} in
coreboot_ram before the device tree was set up resulted in either a
silent hang or a NULL pointer dereference. I changed the code in r4340
to die() properly with a loud error message. That still was not perfect,
but at least it allowed people to see why their new ports died.
Still, die() is not something developers like to see, and thus a patch
to automatically pick a sensible default instead of dying was created.
Of course, handling PCI access method selection automatically for
fallback purposes has certain limitations before the device tree is set
up. We only check if conf1 works and use conf2 as fallback. No further
tests are done.

This patch enables cleanups and readability improvements in early
coreboot_ram code:
Without this patch:
dword = pci_cf8_conf1.read32(&pbus, sm_dev->bus->secondary,
        sm_dev->path.pci.devfn, 0x64);
With this patch:
dword = pci_read_config32(sm_dev, 0x64);

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

14 years agoI forgot to add CONFIG_VGA_BRIDGE_SETUP to the old build system.
Myles Watson [Thu, 17 Sep 2009 18:30:23 +0000 (18:30 +0000)]
I forgot to add CONFIG_VGA_BRIDGE_SETUP to the old build system.

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

14 years agoRemove warnings from Kconfig. Trivial.
Myles Watson [Thu, 17 Sep 2009 16:59:07 +0000 (16:59 +0000)]
Remove warnings from 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@4644 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoSeparate CONFIG_VGA_CONSOLE from CONFIG_VGA_BRIDGE_SETUP.
Myles Watson [Thu, 17 Sep 2009 16:54:46 +0000 (16:54 +0000)]
Separate CONFIG_VGA_CONSOLE from CONFIG_VGA_BRIDGE_SETUP.

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

14 years agoMove VGA BIOS settings from the payload menu into it's own menu
Peter Stuge [Thu, 17 Sep 2009 16:21:31 +0000 (16:21 +0000)]
Move VGA BIOS settings from the payload menu into it's own menu

Remove dependency on PAYLOAD_ELF so that config items are shown.
Build tested. With this, coreboot.rom has a VGA BIOS optionrom added.

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

14 years agoThere was a missing addition of the size of the .notes.pinfo
Ronald G. Minnich [Thu, 17 Sep 2009 15:35:08 +0000 (15:35 +0000)]
There was a missing addition of the size of the .notes.pinfo
section header which could lead to corrupted malloc arena.

Also, make cbfstool always build with debugging on. Performance
is not an issue here. Don't strip it either.

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

14 years agoThis is a patch for killing IPMI on the s1850 -- or at least geting the BMC
Ronald G. Minnich [Thu, 17 Sep 2009 00:28:29 +0000 (00:28 +0000)]
This is a patch for killing IPMI on the s1850 -- or at least geting the BMC
out of the way of the serial port. Tested extensively in user mode.
Works and gets the BMC out of my way, which is good, because there
are few more useless things than IPMI and the BMC.
The BMC, all by itself, is the cause of most of our problems in booting
and talking to these nodes.

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

14 years agocopyright name error.
Ronald G. Minnich [Thu, 17 Sep 2009 00:24:52 +0000 (00:24 +0000)]
copyright name error.
I don't know what else to do for files generated by programs ...
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@4639 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agokbuildall is a utility that generates default configs for all
Patrick Georgi [Wed, 16 Sep 2009 20:18:03 +0000 (20:18 +0000)]
kbuildall is a utility that generates default configs for all
boards, builds them, and keeps the config and build logs around and
creates a roster of all boards and their build status.

abuild does this for the newconfig based buildsystem, kbuildall does
this for kconfig/kbuild.

It's supposed to be put in the tree as util/kbuildall/kbuildall, and
called like that (ie. from the top level directory).

The results can be found in kbuildall.results/ in the toplevel
directory, the roster is called _overview.txt ("_" to make sure it's
sorted before or after all the board files)

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

14 years agoBuild cbfstool with debug flags and don't strip the executable
Patrick Georgi [Wed, 16 Sep 2009 08:19:07 +0000 (08:19 +0000)]
Build cbfstool with debug flags and don't strip the executable
from any symbol information.

Variant of Ron's patch.

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

14 years agoThis is an otherwise dead platform. I'm just committing the basics that
Ronald G. Minnich [Tue, 15 Sep 2009 23:38:27 +0000 (23:38 +0000)]
This is an otherwise dead platform. I'm just committing the basics that
let it 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@4636 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoDon't mix int and boolean for kconfig variables. It might work, it might not.
Patrick Georgi [Tue, 15 Sep 2009 20:40:31 +0000 (20:40 +0000)]
Don't mix int and boolean for kconfig variables. It might work, it might not.
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@4635 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMore error checking when trying to open files in
Patrick Georgi [Tue, 15 Sep 2009 08:21:46 +0000 (08:21 +0000)]
More error checking when trying to open files in
cbfstool. (trivial)

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

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